]> git.wh0rd.org - fontconfig.git/blob - conf.avail/30-unhint-small-vera.conf
245580f0a848bf4fdb4ce8c6f55c64fbe735eeae
[fontconfig.git] / conf.avail / 30-unhint-small-vera.conf
1 <!--
2 The Bitstream Vera fonts have GASP entries suggesting that hinting be
3 disabled below 8 ppem, but FreeType ignores those, preferring to use
4 the data found in the instructed hints. The initial Vera release
5 didn't include the right instructions in the 'prep' table. Fix this
6 by disabling hinting manually at smaller sizes (< 8ppem)
7 -->
8
9 <match target="font">
10 <test name="family">
11 <string>Bitstream Vera Sans</string>
12 </test>
13 <test name="pixelsize" compare="less">
14 <double>7.5</double>
15 </test>
16 <edit name="hinting">
17 <bool>false</bool>
18 </edit>
19 </match>
20
21 <match target="font">
22 <test name="family">
23 <string>Bitstream Vera Serif</string>
24 </test>
25 <test name="pixelsize" compare="less">
26 <double>7.5</double>
27 </test>
28 <edit name="hinting">
29 <bool>false</bool>
30 </edit>
31 </match>
32
33 <match target="font">
34 <test name="family">
35 <string>Bitstream Vera Sans Mono</string>
36 </test>
37 <test name="pixelsize" compare="less">
38 <double>7.5</double>
39 </test>
40 <edit name="hinting">
41 <bool>false</bool>
42 </edit>
43 </match>
44