-
-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Problem
The default Inter font is blurry and slightly harder to read compared to other fonts (Noto Sans and Ubuntu come to mind).
Proposal
Enable stem darkening system-wide by adding this line at the end of the "environment" file located in /etc:
FREETYPE_PROPERTIES="cff:no-stem-darkening=0"
Stem darkening effectively makes small and thin lines from a font slightly bolder for easier readability and better contrast. This is something that macOS already does and I think it fits nicely with how elementaryOS presents itself, making for a cleaner UI.
Prior Art (Optional)
I learned about this when using KDE and noticing how much better fonts look compared to GNOME. The KDE devs enabled stem darkening on a DE level so while every QT app takes advantage of this, it seems GNOME apps do not. In order to get some consistency between QT and GNOME apps one would have to enable stem darkening at a system level, which is what that line of code does.
I also noticed that the font kerning in QT apps is much better than GNOME. Again, this is something purposefully implemented by the KDE devs at a DE level but I have not been able to replicate it at a system level. In other words, I have yet to find the line (or lines) of code necessary to enable this. If one could figure out exactly what sort of black magic the KDE devs used to improve font rendering and bring that same quality to elementaryOS, that would improve things a lot.
Use Evince and Okular on the same document and compare their respective font renderings to understand what I'm talking about.