20-unhint-small-vera.conf revision 2c393a42
12c393a42Smrg<?xml version="1.0"?> 22c393a42Smrg<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> 32c393a42Smrg<fontconfig> 42c393a42Smrg<!-- 52c393a42Smrg The Bitstream Vera fonts have GASP entries suggesting that hinting be 62c393a42Smrg disabled below 8 ppem, but FreeType ignores those, preferring to use 72c393a42Smrg the data found in the instructed hints. The initial Vera release 82c393a42Smrg didn't include the right instructions in the 'prep' table. Fix this 92c393a42Smrg by disabling hinting manually at smaller sizes (< 8ppem) 102c393a42Smrg --> 112c393a42Smrg 122c393a42Smrg <match target="font"> 132c393a42Smrg <test name="family"> 142c393a42Smrg <string>Bitstream Vera Sans</string> 152c393a42Smrg </test> 162c393a42Smrg <test name="pixelsize" compare="less"> 172c393a42Smrg <double>7.5</double> 182c393a42Smrg </test> 192c393a42Smrg <edit name="hinting"> 202c393a42Smrg <bool>false</bool> 212c393a42Smrg </edit> 222c393a42Smrg </match> 232c393a42Smrg 242c393a42Smrg <match target="font"> 252c393a42Smrg <test name="family"> 262c393a42Smrg <string>Bitstream Vera Serif</string> 272c393a42Smrg </test> 282c393a42Smrg <test name="pixelsize" compare="less"> 292c393a42Smrg <double>7.5</double> 302c393a42Smrg </test> 312c393a42Smrg <edit name="hinting"> 322c393a42Smrg <bool>false</bool> 332c393a42Smrg </edit> 342c393a42Smrg </match> 352c393a42Smrg 362c393a42Smrg <match target="font"> 372c393a42Smrg <test name="family"> 382c393a42Smrg <string>Bitstream Vera Sans Mono</string> 392c393a42Smrg </test> 402c393a42Smrg <test name="pixelsize" compare="less"> 412c393a42Smrg <double>7.5</double> 422c393a42Smrg </test> 432c393a42Smrg <edit name="hinting"> 442c393a42Smrg <bool>false</bool> 452c393a42Smrg </edit> 462c393a42Smrg </match> 472c393a42Smrg 482c393a42Smrg</fontconfig> 49