Fix font rendering in Chromium on Fedora

After installing Chromium on Fedora 24 the font rendering on websites will look horrible compared to Firefox. The problem seems to be linked to font hinting, you can read more in these references.

Create the file .fonts.conf in your home directory with the following content:

<match target="font">
    <edit name="autohint" mode="assign">
        <bool>true</bool>
    </edit>
    <edit name="hinting" mode="assign">
        <bool>true</bool>
    </edit>
    <edit mode="assign" name="hintstyle">
        <const>hintslight</const>
    </edit>
</match>

You will need to log out and in again for the change to take effect.

via thornelabs.net