Skip to content

Instantly share code, notes, and snippets.

@dkd903
Created April 11, 2013 04:14
Show Gist options
  • Save dkd903/5360682 to your computer and use it in GitHub Desktop.
Save dkd903/5360682 to your computer and use it in GitHub Desktop.
Content for .fonts.conf file needed to spice up fonts in Fedora Linux or Red-Hat Linux - How To Get Ubuntu Like Crisp, Sharp Fonts In Fedora / Gnome 3? [http://digitizor.com/?p=15475]
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="autohint">
<bool>true</bool>
</edit>
</match>
<!-- Enable sub-pixel rendering -->
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<!-- Enable hintstyle as hintslight -->
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment