Font rendering issue in Google Chrome on Linux

March 25, 2017
linux opensuse

I banged my head against the wall quite a few times trying to fix the ugly font issue in Google Chrome on Linux. I’m running openSUSE Leap and no hack with the chrome://flags or advanced font settings helped fix the font rendering issues.

Until today…

The best fix that I could find is to place a configuration file that instructs Fontconfig to disable hinting but to keep antialias on.

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  <match target="font">
    <edit name="antialias" mode="assign"><bool>true</bool></edit>
  <match target="font">
    <edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
  <match target="font">
   <edit mode="assign" name="hinting"><bool>false</bool></edit>

Drop the above in ~/.fonts.config and let Fontconfig do its magic. Google Chrome should now behave better with regards to font rendering.

City Council of Barcelona switches from Microsoft Windows to Linux

February 11, 2018
linux ubuntu microsoft open source data protection website compromised?

December 7, 2017
linux wordpress security

Linux Magazine's special edition on openSUSE

November 20, 2017
opensuse linux university-of-mauritius education