Mercurial > repos > rliterman > csp2
annotate 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 |
rev | line source |
---|---|
jpayne@68 | 1 <?xml version="1.0"?> |
jpayne@68 | 2 <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> |
jpayne@68 | 3 <fontconfig> |
jpayne@68 | 4 <description>Disable hinting for Bitstream Vera fonts when the size is less than 8ppem</description> |
jpayne@68 | 5 <!-- |
jpayne@68 | 6 The Bitstream Vera fonts have GASP entries suggesting that hinting be |
jpayne@68 | 7 disabled below 8 ppem, but FreeType ignores those, preferring to use |
jpayne@68 | 8 the data found in the instructed hints. The initial Vera release |
jpayne@68 | 9 didn't include the right instructions in the 'prep' table. Fix this |
jpayne@68 | 10 by disabling hinting manually at smaller sizes (< 8ppem) |
jpayne@68 | 11 --> |
jpayne@68 | 12 |
jpayne@68 | 13 <match target="font"> |
jpayne@68 | 14 <test name="family" compare="eq" ignore-blanks="true"> |
jpayne@68 | 15 <string>Bitstream Vera Sans</string> |
jpayne@68 | 16 </test> |
jpayne@68 | 17 <test name="pixelsize" compare="less"> |
jpayne@68 | 18 <double>7.5</double> |
jpayne@68 | 19 </test> |
jpayne@68 | 20 <edit name="hinting"> |
jpayne@68 | 21 <bool>false</bool> |
jpayne@68 | 22 </edit> |
jpayne@68 | 23 </match> |
jpayne@68 | 24 |
jpayne@68 | 25 <match target="font"> |
jpayne@68 | 26 <test name="family" compare="eq" ignore-blanks="true"> |
jpayne@68 | 27 <string>Bitstream Vera Serif</string> |
jpayne@68 | 28 </test> |
jpayne@68 | 29 <test name="pixelsize" compare="less"> |
jpayne@68 | 30 <double>7.5</double> |
jpayne@68 | 31 </test> |
jpayne@68 | 32 <edit name="hinting"> |
jpayne@68 | 33 <bool>false</bool> |
jpayne@68 | 34 </edit> |
jpayne@68 | 35 </match> |
jpayne@68 | 36 |
jpayne@68 | 37 <match target="font"> |
jpayne@68 | 38 <test name="family" compare="eq" ignore-blanks="true"> |
jpayne@68 | 39 <string>Bitstream Vera Sans Mono</string> |
jpayne@68 | 40 </test> |
jpayne@68 | 41 <test name="pixelsize" compare="less"> |
jpayne@68 | 42 <double>7.5</double> |
jpayne@68 | 43 </test> |
jpayne@68 | 44 <edit name="hinting"> |
jpayne@68 | 45 <bool>false</bool> |
jpayne@68 | 46 </edit> |
jpayne@68 | 47 </match> |
jpayne@68 | 48 |
jpayne@68 | 49 </fontconfig> |