summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.fonts.conf38
1 files changed, 38 insertions, 0 deletions
diff --git a/.fonts.conf b/.fonts.conf
new file mode 100644
index 0000000..cd0570b
--- /dev/null
+++ b/.fonts.conf
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+
+<fontconfig>
+ <!-- Disable Autohinting for bold fonts -->
+ <match target="font">
+ <test name="weight" compare="more"><const>medium</const></test>
+ <edit name="autohint" mode="assign"><bool>false</bool></edit>
+ </match>
+
+ <!-- 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>
+
+ <!-- Disable all automatisms for the japanese thingy -->
+ <match target="font">
+ <test name="family">
+ <string>IPAPGothic</string>
+ <string>IPAPMincho</string>
+ <string>IPAGothic</string>
+ <string>IPAMincho</string>
+ </test>
+ <edit name="hinting" mode="assign">
+ <bool>false</bool>
+ </edit>
+ <edit name="autohint" mode="assign"><bool>false</bool></edit>
+ <edit name="rgba" mode="assign">
+ <const>none</const>
+ </edit>
+ </match>
+
+</fontconfig>