Description
About
For some strange reason, GNOME DE completely ignores any fontconfig rule to set the font antialiasing method, meaning that it is completely impossible to make any custom value set with fontconfig to be respected by the environment.
While this is not a critical issue, as GNOME uses the grayscale antialiasing method by default, there are a few Linux distributions that change this setting to the subpixel mode, with Ubuntu being one of them.
"GNOME way"
GNOME DE has its own configuration methods, that are preferred over the freedesktop standards. These configurations can be easily accessed and modified through the gsettings
utility. There are absolutely no other way to make changes to stuff like antialiasing method or hinting without the gsettings
tool.
Temporary Solution
The solution to this issue for now is manual configuration on the user side, using the gsettings
tool.
To see if your environment uses the subpixel font antialiasing you can check the output of the command below:
$ gsettings get org.gnome.desktop.interface font-antialiasing
'rgba'
If you get the same output as above - you are using the subpixel antialiasing, and switching to grayscale antialiasing can be done by executing the next command:
gsettings set org.gnome.desktop.interface font-antialiasing grayscale
To revert the changes:
gsettings reset org.gnome.desktop.interface font-antialiasing