summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2016-11-18 21:52:41 -0500
committerAmin Bandali <amin@aminb.org>2016-11-18 21:52:41 -0500
commitdf0df487ce599bb1ff6909f7bef0f255119cb5c7 (patch)
tree062792d50e645b76523e64a1c8f883be7c83a6bb
parent398896808d9cae13f91c550d19acfab435caa8e8 (diff)
downloadconfigs-df0df487ce599bb1ff6909f7bef0f255119cb5c7.tar.gz
configs-df0df487ce599bb1ff6909f7bef0f255119cb5c7.tar.xz
configs-df0df487ce599bb1ff6909f7bef0f255119cb5c7.zip
[fontconfig] Drastically better font rendering
-rw-r--r--fontconfig/.config/fontconfig/fonts.conf43
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>