Optional
If it exists, remove fonts.conf
; fonts.conf
is used by KDE applications, but Ubuntu uses gsettings
instead. On Ubuntu, it is a good idea to remove this file, so it does not interfere with your font settings. In a terminal, execute the following.
rm ~/.config/fontconfig/fonts.conf
Select Hinting
Select one of the following options, depending on your font hinting preference.
Full Hinting (Try this first, since I suspect it is what you will like most)
If you want full hinting, execute the following in a terminal.
sudo rm /etc/fonts/conf.d/10-hinting-*.conf
sudo ln -sv /etc/fonts/conf.avail/10-hinting-full.conf /etc/fonts/conf.d/
Medium Hinting
If you want medium hinting, execute the following in a terminal.
sudo rm /etc/fonts/conf.d/10-hinting-*.conf
sudo ln -sv /etc/fonts/conf.avail/10-hinting-medium.conf /etc/fonts/conf.d/
Slight Hinting
To undo this change, or to use slight hinting (default), execute the following in a terminal.
sudo rm /etc/fonts/conf.d/10-hinting-*.conf
sudo ln -sv /etc/fonts/conf.avail/10-hinting-slight.conf /etc/fonts/conf.d/
Check Results
Reboot, since the above changes are global to your system. Launch Firefox and hopefully you will see sharper, clearer fonts. Also, note that the address / search bar in Firefox may still display slightly fuzzy fonts, and I have not found a way to change this. However, you should see a marked improvement in web pages.
about:preferences
and in Language and Appearance and in Advanced settings and checked thatAllow pages to choose their own fonts, instead of your selections above
is selected? – Terrance Nov 15 '17 at 4:34sudo apt-get install msttcorefonts
and re-open the FireFox and try. – AzkerM Nov 15 '17 at 5:44