Created
March 30, 2018 16:01
-
-
Save julien-gargot/2574b2c108124c24ab6fac9778b5dba4 to your computer and use it in GitHub Desktop.
Base configuration for hinting and antialiasing typography under Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!~/.Xresources | |
Xft.autohint: 0 | |
Xft.lcdfilter: lcddefault | |
Xft.hintstyle: hintsmedium | |
Xft.hinting: 1 | |
Xft.antialias: 1 | |
Xft.rgba: rgb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- ~/.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