Bug 495926

Summary: Font anti-aliasing "exclude range" does not exclude font ranges
Product: [Applications] systemsettings Reporter: edfardos <edfardos>
Component: kcm_fontsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: edfardos
Priority: NOR Keywords: qt6
Version First Reported In: 6.2.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description edfardos 2024-11-07 15:58:28 UTC
SUMMARY
Font anti-aliasing "exclude range" does not exclude font ranges from anti-aliasing for KDE/QT applications

STEPS TO REPRODUCE
systemsettings->Text&Fonts->Fonts
anti-aliasing [x] Enable
[x] Exclude range from anti-aliasing
[1pt] to [24pt]
sub-pixel rendering [RGB]
Hinting [slight]
[x] force font DPI: [144]

OBSERVED RESULT
All qt/kde apps have anti-aliased fonts regardless of font size, except kwin which renders properly.
All non-qt/kde apps honor the exclusion range (thunderbird, firefox, etc)

EXPECTED RESULT
All qt/kde apps have non-anti-aliased fonts from 1-24, anti-aliased fonts >24pt.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.2.1
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
~/.config/fontconfig/fonts.conf is properly written and used by non-KDE apps
Anti-aliasing is not required for well-hinted fonts on high-dpi 4K displays
Blurry fonts are an accessibility issue.
Comment 1 edfardos 2024-11-07 16:01:45 UTC
Additionally, Global Scale set to 150%