Skip to content

Instantly share code, notes, and snippets.

@ManuelFte
Created January 7, 2022 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ManuelFte/c3d21e08c0854249c78370663f38439d to your computer and use it in GitHub Desktop.
Save ManuelFte/c3d21e08c0854249c78370663f38439d to your computer and use it in GitHub Desktop.
Configuration file to improve font rendering on Arch Linux. For usage in this tutorial: https://manuel.life/improve-font-rendering-arch-linux/
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<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