comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/fontconfig/conf.avail/20-unhint-small-vera.conf @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 68:5028fdace37b
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
3 <fontconfig>
4 <description>Disable hinting for Bitstream Vera fonts when the size is less than 8ppem</description>
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" compare="eq" ignore-blanks="true">
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" compare="eq" ignore-blanks="true">
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" compare="eq" ignore-blanks="true">
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>