summaryrefslogtreecommitdiffstats
path: root/fontconfig
diff options
context:
space:
mode:
Diffstat (limited to '')
-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>