Fuzzy fonts in Chromium Browser Under Linux

June 10, 2010

linux

I did a small upgrade to the newest version of Chromium and all of the sudden the fonts in the browser area were all blurry and fuzzy…

After some searching it turned out that WebKit (which Chromium uses for the rendering) uses the settings from font-config instead of the whatever you click inside your DE’s configuration tools.

% fc-match -v Arial | egrep 'family|hint'
family: "Arial"(s)
familylang: "en"(s)
hintstyle: 1(i)(w)          <- '1' means slight hinting
hinting: FcTrue(w)
autohint: FcFalse(s)

And to remedy the situation:

cd /etc/fonts/conf.d
mv 10-hinting-slight.conf /tmp

Which yields:

fc-match -v Arial | egrep 'family|hint' 
family: "Arial"(s)
familylang: "en"(s)
hintstyle: 2(i)(w)          <- '2' means medium hinting
hinting: FcTrue(w)
autohint: FcFalse(s)
None