Skip to content

Instantly share code, notes, and snippets.

@julien-gargot
Created March 30, 2018 16:01
Show Gist options
  • Save julien-gargot/2574b2c108124c24ab6fac9778b5dba4 to your computer and use it in GitHub Desktop.
Save julien-gargot/2574b2c108124c24ab6fac9778b5dba4 to your computer and use it in GitHub Desktop.
Base configuration for hinting and antialiasing typography under Arch Linux
!~/.Xresources
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintsmedium
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
<!-- ~/.config/fontconfig/fonts.conf -->
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<dir>~/.fonts</dir>
<!-- Anti-aliasing -->
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
<!-- Hinting -->
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintmedium</const>
</edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment