summaryrefslogtreecommitdiff
path: root/tools/windows_packaging/mingw64/fonts/conf.d/20-unhint-small-vera.conf
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-12-05 13:57:04 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2013-12-05 13:57:04 -0500
commit75212b28b2d4c0345a43745cd738b0d214ba5d47 (patch)
tree127ca73480e13259f9aa80224a7b81c5010838d2 /tools/windows_packaging/mingw64/fonts/conf.d/20-unhint-small-vera.conf
parent2ba2a50decb4b2f8b6b688dea495a2898124cc4f (diff)
new/extended windows packaging scripts and associated resources
Diffstat (limited to 'tools/windows_packaging/mingw64/fonts/conf.d/20-unhint-small-vera.conf')
-rw-r--r--tools/windows_packaging/mingw64/fonts/conf.d/20-unhint-small-vera.conf48
1 files changed, 48 insertions, 0 deletions
diff --git a/tools/windows_packaging/mingw64/fonts/conf.d/20-unhint-small-vera.conf b/tools/windows_packaging/mingw64/fonts/conf.d/20-unhint-small-vera.conf
new file mode 100644
index 0000000000..c4ebee9d44
--- /dev/null
+++ b/tools/windows_packaging/mingw64/fonts/conf.d/20-unhint-small-vera.conf
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<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>