On This Page...
Chromium web browser fonts might not look well on first run. Almost always they are ugly.
To make fonts look better, create the following file:
The file usually does not exist in GTK desktops like Budgie, MATE, Cinnamon, and GNOME.
Though it does usually exist in Qt desktops like KDE and LxQt.
Put the following lines in a newly created (GTK) or at the end of an existing (Qt) file. In Qt-based desktops put them before the final </fontconfig> tag:
<!--nice looking chromium fonts starts --> <match target="font"> <edit name="autohint" mode="assign"> <bool>true</bool> </edit> <edit name="hinting" mode="assign"> <bool>true</bool> </edit> <edit mode="assign" name="hintstyle"> <const>hintslight</const> </edit> </match> <!--nice looking chromium fonts ends -->
To improve an overall fonts appearance, run the command:
Log out and back in.
The command is not specific to Chromium. It can be executed in any distro, with any DE, at any time, more than once. It simply refreshes the font cache which can improve rendering if changes were made to the font configuration since the last time the cache was refreshed.