M BUZZ CRAZE NEWS
// general

Full font hinting not working in Ubuntu 18.04

By Sarah Rodriguez

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:

  1. Changing the settings using Gnome Tweak Tool as shown in screenshot.

  2. Copying 10-antialias.conf, 10-no-sub-pixel.conf and 10-hinting-full.conf from /etc/fonts/ to /etc/fonts/config.d/ and deleting the conflicting files in config.d/.

  3. Putting this fonts.conf in ~/.config/fontsconfig/.

But nothing worked.

Anybody else having the same problem? Any suggested solutions?

1 Answer

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.

It works.

5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy