summaryrefslogtreecommitdiff
path: root/.fonts.conf
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2011-06-06 21:12:28 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2011-06-06 21:12:28 +0200
commit68e09851cd5fc1dbe0783be4fc465183782502e5 (patch)
tree10d99ab35b82d4d5d9027a69c160e05214a515cd /.fonts.conf
parent059524dc686b9088b7cadeea267a01757d4ac710 (diff)
downloaddotfiles-68e09851cd5fc1dbe0783be4fc465183782502e5.tar.gz
dotfiles-68e09851cd5fc1dbe0783be4fc465183782502e5.tar.bz2
dotfiles-68e09851cd5fc1dbe0783be4fc465183782502e5.zip
fonts.conf
Diffstat (limited to '.fonts.conf')
-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>