aboutsummaryrefslogtreecommitdiff
path: root/dot_config/fontconfig/fonts.conf
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/fontconfig/fonts.conf')
-rw-r--r--dot_config/fontconfig/fonts.conf33
1 files changed, 33 insertions, 0 deletions
diff --git a/dot_config/fontconfig/fonts.conf b/dot_config/fontconfig/fonts.conf
new file mode 100644
index 0000000..1d1ab75
--- /dev/null
+++ b/dot_config/fontconfig/fonts.conf
@@ -0,0 +1,33 @@
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+ <match target="font">
+ <edit mode="assign" name="rgba">
+ <!-- Improves rendering on LCD screens according to -->
+ <!-- http://freedesktop.org/software/fontconfig/fontconfig-user.html -->
+ <const>rgb</const>
+ </edit>
+ </match>
+ <match target="font">
+ <edit mode="assign" name="lcdfilter">
+ <const>lcddefault</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>hintfull</const>
+ </edit>
+ </match>
+ <match target="font">
+ <edit mode="assign" name="antialias">
+ <bool>true</bool>
+ </edit>
+ </match>
+ <dir>~/.fonts</dir>
+ <dir>/usr/share/texlive/texmf-dist/fonts</dir>
+</fontconfig>