Improve Fonts in Chrome in CentOS 6
Tuesday, December 6th, 2011 ~ 10:33 pm by Mauriat Miranda
I am currently running the latest version of Firefox (8.0) and Google Chrome (15.0.874.121) in CentOS 6 64-bit using the Gnome 2.28 desktop.
Both work fine, however Firefox renders fonts significantly better than Chrome.
The Fix: The following steps fix the problem.
1. Open the file .fonts.conf in your home directory, if it does not exist create it:
$ touch ~/.fonts.conf
2. Add the following contents to the file:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>
3. Log out completely from Gnome (reboot not required).
Before and After


June 11th, 2012 at 6:16 am
finally a solution that works! thank you
June 21st, 2012 at 7:28 am
Excellent fix! Works for my FC12 distro as well.
Thanks for the post.
December 14th, 2012 at 7:33 am
Genius ! Very well in Fedora 17.Thanks