annotate toolboxes/graph_visualisation/etc/fonts/conf.d/20-unhint-small-vera.conf @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 <?xml version="1.0"?>
wolffd@0 2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
wolffd@0 3 <!-- conf.d/sub-pixel.conf -->
wolffd@0 4 <fontconfig>
wolffd@0 5 <!--
wolffd@0 6 The Bitstream Vera fonts have GASP entries suggesting that hinting be
wolffd@0 7 disabled below 8 ppem, but FreeType ignores those, preferring to use
wolffd@0 8 the data found in the instructed hints. The initial Vera release
wolffd@0 9 didn't include the right instructions in the 'prep' table. Fix this
wolffd@0 10 by disabling hinting manually at smaller sizes (< 8ppem)
wolffd@0 11 -->
wolffd@0 12
wolffd@0 13 <match target="font">
wolffd@0 14 <test name="family">
wolffd@0 15 <string>Bitstream Vera Sans</string>
wolffd@0 16 </test>
wolffd@0 17 <test name="pixelsize" compare="less">
wolffd@0 18 <double>7.5</double>
wolffd@0 19 </test>
wolffd@0 20 <edit name="hinting">
wolffd@0 21 <bool>false</bool>
wolffd@0 22 </edit>
wolffd@0 23 </match>
wolffd@0 24
wolffd@0 25 <match target="font">
wolffd@0 26 <test name="family">
wolffd@0 27 <string>Bitstream Vera Serif</string>
wolffd@0 28 </test>
wolffd@0 29 <test name="pixelsize" compare="less">
wolffd@0 30 <double>7.5</double>
wolffd@0 31 </test>
wolffd@0 32 <edit name="hinting">
wolffd@0 33 <bool>false</bool>
wolffd@0 34 </edit>
wolffd@0 35 </match>
wolffd@0 36
wolffd@0 37 <match target="font">
wolffd@0 38 <test name="family">
wolffd@0 39 <string>Bitstream Vera Sans Mono</string>
wolffd@0 40 </test>
wolffd@0 41 <test name="pixelsize" compare="less">
wolffd@0 42 <double>7.5</double>
wolffd@0 43 </test>
wolffd@0 44 <edit name="hinting">
wolffd@0 45 <bool>false</bool>
wolffd@0 46 </edit>
wolffd@0 47 </match>
wolffd@0 48
wolffd@0 49 </fontconfig>