Full font hinting not working in Ubuntu 18.04
I found a solution to the problem linked to in this reddit post.
Add the following line to /etc/environment
as root:
FREETYPE_PROPERTIES="truetype:interpreter-version=35 cff:no-stem-darkening=1 autofitter:warping=1"
Then restart the XServer (Xorg or XWayland) or reboot.
Related videos on Youtube
M. Farouk
Updated on September 18, 2022Comments
-
M. Farouk over 1 year
It seems that full font hinting doesn't work in 18.04.
Due to low resolution laptop screens, I prefer the fonts with full hinting and grayscale antialiasing.
Changing the font hinting from medium to full seem to have no effect whatsoever.
Here's how fonts look in Ubuntu 16.04, sharp and thin.
and here's how they look in Ubuntu 18.04, thick and blurry.
I tried the following:
Changing the settings using Gnome Tweak Tool as shown in screenshot.
Copying
10-antialias.conf
,10-no-sub-pixel.conf
and10-hinting-full.conf
from/etc/fonts/config.avail/
to/etc/fonts/config.d/
and deleting the conflicting files inconfig.d/
.Putting this fonts.conf in
~/.config/fontsconfig/
.
But nothing worked.
Anybody else having the same problem? Any suggested solutions?
-
Adriano dos Santos Fernandes about 6 yearsIt's different, but for me is still ugly!
-
uptoyou over 5 yearsThis is not v35 hinting engine at rhe screenshot named "it works". You can still compare fonts in chrome between 18.04 and 16.04. You will find plethora of diffs.
-
Orhan G. Hafif over 4 years@uptoyou still, this is the best solution after those updates. Without full hinting, some people like me, find it blurred to read.
-
uptoyou over 4 years@OrhanG.Hafif i'm totally agree, but due to extremely lazy freetype evolution (consider the fact that cleartype patents expiration didn't help freetype to qualitatively integrate their solutions) i ended up with HiDPI display, that solves almost all font's rendering issues.
-
Orhan G. Hafif over 4 yearsAnd I'm still crying in front of a FHD display :D I'll buy one.