Created
May 28, 2017 00:35
-
-
Save luizmello/a10ef48dd76092305b560e73219ca6d0 to your computer and use it in GitHub Desktop.
local.conf for better font rendering on 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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<match> | |
<edit mode="prepend" name="family"><string>Noto Sans</string></edit> | |
</match> | |
<match target="pattern"> | |
<test qual="any" name="family"><string>serif</string></test> | |
<edit name="family" mode="assign" binding="same"><string>Noto Serif</string></edit> | |
</match> | |
<match target="pattern"> | |
<test qual="any" name="family"><string>sans-serif</string></test> | |
<edit name="family" mode="assign" binding="same"><string>Noto Sans</string></edit> | |
</match> | |
<match target="pattern"> | |
<test qual="any" name="family"><string>monospace</string></test> | |
<edit name="family" mode="assign" binding="same"><string>Noto Mono</string></edit> | |
</match> | |
<match target="pattern"> | |
<edit name="dpi" mode="assign">96</edit> | |
</match> | |
<match target="font"> | |
<edit mode="assign" name="antialias" > | |
<bool>true</bool> | |
</edit> | |
</match> | |
<match target="font"> | |
<edit mode="assign" name="hinting" > | |
<bool>true</bool> | |
</edit> | |
</match> | |
<match target="font"> | |
<edit mode="assign" name="hintstyle" > | |
<const>hintfull</const> | |
</edit> | |
</match> | |
<match target="font"> | |
<edit mode="assign" name="rgba" > | |
<const>rgb</const> | |
</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