Skip to content

Instantly share code, notes, and snippets.

@amiroff
Created June 4, 2010 14:24
Show Gist options
  • Save amiroff/425463 to your computer and use it in GitHub Desktop.
Save amiroff/425463 to your computer and use it in GitHub Desktop.
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<!-- ~/.fonts.conf for per-user font configuration -->
<fontconfig>
<!-- default fonts -->
<alias>
<family>serif</family>
<prefer>
<family>Droid Serif</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Droid Sans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Inconsolata</family>
</prefer>
</alias>
<alias>
<family>cursive</family>
<prefer>
<family>Inconsolata</family>
</prefer>
</alias>
<alias>
<family>fantasy</family>
<prefer>
<family>Inconsolata</family>
</prefer>
</alias>
<!-- disable autohinter for bold fonts -->
<match target="font">
<test compare="more" name="weight">
<const>medium</const>
</test>
<edit mode="assign" name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment