diff options
Diffstat (limited to '.config/fontconfig/fonts.conf')
-rw-r--r-- | .config/fontconfig/fonts.conf | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf new file mode 100644 index 0000000..e677406 --- /dev/null +++ b/.config/fontconfig/fonts.conf @@ -0,0 +1,91 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> + +<fontconfig> + <!-- Disable subpixels for small fonts --> + <match target="font"> + <test name="pixelsize" compare="less"> + <double>8.0</double> + </test> + <edit name="rgba" mode="assign"> + <const>none</const> + </edit> + </match> + + <match target="font"> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintfull</const> + </edit> + <edit mode="assign" name="lcdfilter"> + <const>lcddefault</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + <match target="font"> + <test name="family"> + <string>Comfortaa</string> + </test> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + + <edit name="autohint" mode="assign"> + <bool>true</bool> + </edit> + <edit name="rgba" mode="assign"> + <const>none</const> + </edit> + </match> + + <match target="font"> + <test name="family"> + <string>@font-face:Thesis</string> + </test> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + </match> + + <match target="font"> + <test name="family"> + <string>@font-face:TheSansWeb</string> + </test> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + </match> + + <match target="font"> + <test name="family"> + <string>@font-face:century</string> + </test> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + </match> + + <match target="font"> + <test name="family"> + <string>@font-face:century-bold</string> + </test> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + </match> + + <match target="font"> + <test name="family"> + <string>Inconsolata</string> + </test> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + </match> +</fontconfig> +<!-- vim: ft=xml +--> |