summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpostcode/xetex/conf/conf.d/20-unhint-small-vera.conf
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-06-18 06:45:45 +0000
committerNorbert Preining <preining@logic.at>2009-06-18 06:45:45 +0000
commitf1a02e4ae27a800ca2e3997cfc6f5eb20bb1dd88 (patch)
tree67649587de27c1724c30106c31c4d58f16664daf /Master/tlpkg/tlpostcode/xetex/conf/conf.d/20-unhint-small-vera.conf
parent7af7021e141e0d8f197e16bb6d51f73612557749 (diff)
move bin/win32/{conf,cache} to tlpkg/tlpostcode/xetex/
adjust tlpsrc file git-svn-id: svn://tug.org/texlive/trunk@13806 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlpostcode/xetex/conf/conf.d/20-unhint-small-vera.conf')
-rw-r--r--Master/tlpkg/tlpostcode/xetex/conf/conf.d/20-unhint-small-vera.conf49
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/tlpkg/tlpostcode/xetex/conf/conf.d/20-unhint-small-vera.conf b/Master/tlpkg/tlpostcode/xetex/conf/conf.d/20-unhint-small-vera.conf
new file mode 100644
index 00000000000..3078119803a
--- /dev/null
+++ b/Master/tlpkg/tlpostcode/xetex/conf/conf.d/20-unhint-small-vera.conf
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- conf.d/sub-pixel.conf -->
+<fontconfig>
+<!--
+ The Bitstream Vera fonts have GASP entries suggesting that hinting be
+ disabled below 8 ppem, but FreeType ignores those, preferring to use
+ the data found in the instructed hints. The initial Vera release
+ didn't include the right instructions in the 'prep' table. Fix this
+ by disabling hinting manually at smaller sizes (< 8ppem)
+ -->
+
+ <match target="font">
+ <test name="family">
+ <string>Bitstream Vera Sans</string>
+ </test>
+ <test name="pixelsize" compare="less">
+ <double>7.5</double>
+ </test>
+ <edit name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Bitstream Vera Serif</string>
+ </test>
+ <test name="pixelsize" compare="less">
+ <double>7.5</double>
+ </test>
+ <edit name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Bitstream Vera Sans Mono</string>
+ </test>
+ <test name="pixelsize" compare="less">
+ <double>7.5</double>
+ </test>
+ <edit name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+
+</fontconfig>