12c393a42Smrg<?xml version="1.0"?>
2a4e54154Smrg<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
32c393a42Smrg<fontconfig>
4a32e9e42Smrg  <description>Disable hinting for Bitstream Vera fonts when the size is less than 8ppem</description>
52c393a42Smrg<!-- 
62c393a42Smrg	The Bitstream Vera fonts have GASP entries suggesting that hinting be
72c393a42Smrg	disabled below 8 ppem, but FreeType ignores those, preferring to use
82c393a42Smrg	the data found in the instructed hints.  The initial Vera release
92c393a42Smrg	didn't include the right instructions in the 'prep' table. Fix this
102c393a42Smrg	by disabling hinting manually at smaller sizes (< 8ppem)
112c393a42Smrg -->
122c393a42Smrg
132c393a42Smrg	<match target="font">
14ca08ab68Smrg		<test name="family" compare="eq" ignore-blanks="true">
152c393a42Smrg			<string>Bitstream Vera Sans</string>
162c393a42Smrg		</test>
172c393a42Smrg		<test name="pixelsize" compare="less">
182c393a42Smrg			<double>7.5</double>
192c393a42Smrg		</test>
202c393a42Smrg		<edit name="hinting">
212c393a42Smrg			<bool>false</bool>
222c393a42Smrg		</edit>
232c393a42Smrg	</match>
242c393a42Smrg
252c393a42Smrg	<match target="font">
26ca08ab68Smrg		<test name="family" compare="eq" ignore-blanks="true">
272c393a42Smrg			<string>Bitstream Vera Serif</string>
282c393a42Smrg		</test>
292c393a42Smrg		<test name="pixelsize" compare="less">
302c393a42Smrg			<double>7.5</double>
312c393a42Smrg		</test>
322c393a42Smrg		<edit name="hinting">
332c393a42Smrg			<bool>false</bool>
342c393a42Smrg		</edit>
352c393a42Smrg	</match>
362c393a42Smrg
372c393a42Smrg	<match target="font">
38ca08ab68Smrg		<test name="family" compare="eq" ignore-blanks="true">
392c393a42Smrg			<string>Bitstream Vera Sans Mono</string>
402c393a42Smrg		</test>
412c393a42Smrg		<test name="pixelsize" compare="less">
422c393a42Smrg			<double>7.5</double>
432c393a42Smrg		</test>
442c393a42Smrg		<edit name="hinting">
452c393a42Smrg			<bool>false</bool>
462c393a42Smrg		</edit>
472c393a42Smrg	</match>
482c393a42Smrg
492c393a42Smrg</fontconfig>
50