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