diff options
author | Amin Bandali <amin@aminb.org> | 2016-11-18 21:52:41 -0500 |
---|---|---|
committer | Amin Bandali <amin@aminb.org> | 2016-11-18 21:52:41 -0500 |
commit | df0df487ce599bb1ff6909f7bef0f255119cb5c7 (patch) | |
tree | 062792d50e645b76523e64a1c8f883be7c83a6bb | |
parent | 398896808d9cae13f91c550d19acfab435caa8e8 (diff) | |
download | configs-df0df487ce599bb1ff6909f7bef0f255119cb5c7.tar.gz configs-df0df487ce599bb1ff6909f7bef0f255119cb5c7.tar.xz configs-df0df487ce599bb1ff6909f7bef0f255119cb5c7.zip |
[fontconfig] Drastically better font rendering
Diffstat (limited to '')
-rw-r--r-- | fontconfig/.config/fontconfig/fonts.conf | 43 |
1 files changed, 36 insertions, 7 deletions
diff --git a/fontconfig/.config/fontconfig/fonts.conf b/fontconfig/.config/fontconfig/fonts.conf index d4449aa..444d8ed 100644 --- a/fontconfig/.config/fontconfig/fonts.conf +++ b/fontconfig/.config/fontconfig/fonts.conf @@ -1,9 +1,38 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> -<!-- turn off antialiasing --> -<match target="font"> -<edit name="antialias" mode="assign"><bool>true</bool></edit> -<edit name="hinting" mode="assign"><bool>true</bool></edit> -<edit name="hintstyle" mode="assign"><const>hintmedium</const></edit> -<edit name="rgba" mode="assign"><const>rgb</const></edit> -</match> + <match target="font"> + <edit mode="assign" name="rgba"> + <const>rgb</const> + </edit> + </match> + <match target="font"> + <edit mode="assign" name="hinting"> + <bool>true</bool> + </edit> + </match> + <match target="font"> + <edit mode="assign" name="hintstyle"> + <const>hintslight</const> + </edit> + </match> + <match target="font"> + <edit mode="assign" name="antialias"> + <bool>true</bool> + </edit> + </match> + <match target="font"> + <edit mode="assign" name="lcdfilter"> + <const>lcddefault</const> + </edit> + </match> + <dir>~/.fonts</dir> + + <!-- Use Liberation Sans for Helvetica (instead of Nimbus Sans) --> + <alias binding="same"> + <family>Helvetica</family> + <accept> + <family>Liberation Sans</family> + </accept> +</alias> </fontconfig> |