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