Chromium fonts

Chromium fonts


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">
    <edit name="hinting" mode="assign">
    <edit mode="assign" name="hintstyle">
<!--nice looking chromium fonts ends -->

Restart Chromium.



To improve an overall fonts appearance, run the command:

fc-cache -fv

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.


(Besøkte 3,718 ganger, 1 besøk i dag)

Pin It on Pinterest

Share This