Monthly Archives: December 2012

Fixing font in Chromium on Fedora

Font auto-hinting is disabled by default in Chromium on Fedora, so font rendering is quite ugly.

To enable fonts auto-hinting just create file 10-chromium.conf in /etc/fonts/conf.d/ with this xml:

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

and then restart Chromium.

Riferences:

http://code.google.com/p/chromium/issues/detail?id=47865