How to enable sub pixel hinting?

22,000

Solution 1

Welcome to the new no-user-serviceable-parts-inside Ubuntu/Gnome.

Install gnome-tweak-tool (sudo apt-get install gnome-tweak-tool) and run it (it's called "Advanced Settings"). The font settings are in the Fonts tab.

Solution 2

The easy answer is "apt-get install gnome-tweak-tool", but that has the downside of pulling in gnome-shell and lots of associated packages.

You can do it on the command line using gsettings. For example:

$ gsettings get org.gnome.settings-daemon.plugins.xsettings hinting
'slight'
$ gsettings set org.gnome.settings-daemon.plugins.xsettings hinting full
$ gsettings get org.gnome.settings-daemon.plugins.xsettings hinting
'full'

Valid values appear to be "none", "slight", "medium", "full".

You can also configure the antialiasing settings in a similar way.

$ gsettings get org.gnome.settings-daemon.plugins.xsettings antialiasing
'rgba'
$ gsettings set org.gnome.settings-daemon.plugins.xsettings antialiasing none
$ gsettings get org.gnome.settings-daemon.plugins.xsettings antialiasing
'none'
$ gsettings set org.gnome.settings-daemon.plugins.xsettings antialiasing grayscale
$ gsettings get org.gnome.settings-daemon.plugins.xsettings antialiasing
'grayscale'
Share:
22,000

Related videos on Youtube

kayahr
Author by

kayahr

„People assume that a Closure is a function having access to the parent scope, even after the parent function has closed, but actually from a non-linear, non-subjective viewpoint - it's more like a big ball of wibbly wobbly... timey wimey... stuff.“ – The JavaScript Doctor

Updated on September 18, 2022

Comments

  • kayahr
    kayahr almost 2 years

    Fonts are displayed a little bit blurry on my TFT screen. I fixed this in previous Ubuntu releases by enabling sub pixel hinting in the font settings. But now I can't find any font settings dialog in Unity. How can I enable sub pixel hinting or change the font family or font size? Where is all this stuff?