Skip to content

Instantly share code, notes, and snippets.

@AntonFriberg
Created June 4, 2017 15:36
Show Gist options
  • Save AntonFriberg/981841cbd7dadd1a0af821c97bebd800 to your computer and use it in GitHub Desktop.
Save AntonFriberg/981841cbd7dadd1a0af821c97bebd800 to your computer and use it in GitHub Desktop.
Debian better font rendering
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<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>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment