2006-09-10 01:52:21 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
|
|
<fontconfig>
|
2014-03-27 07:10:44 +01:00
|
|
|
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
|
|
|
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
|
|
|
|
</its:rules>
|
|
|
|
|
|
|
|
<description>Disable hinting for Bitstream Vera fonts when the size is less than 8ppem</description>
|
2006-09-04 21:47:52 +02:00
|
|
|
<!--
|
|
|
|
The Bitstream Vera fonts have GASP entries suggesting that hinting be
|
|
|
|
disabled below 8 ppem, but FreeType ignores those, preferring to use
|
|
|
|
the data found in the instructed hints. The initial Vera release
|
|
|
|
didn't include the right instructions in the 'prep' table. Fix this
|
|
|
|
by disabling hinting manually at smaller sizes (< 8ppem)
|
|
|
|
-->
|
|
|
|
|
|
|
|
<match target="font">
|
2012-04-11 12:52:35 +02:00
|
|
|
<test name="family" compare="eq" ignore-blanks="true">
|
2006-09-04 21:47:52 +02:00
|
|
|
<string>Bitstream Vera Sans</string>
|
|
|
|
</test>
|
|
|
|
<test name="pixelsize" compare="less">
|
|
|
|
<double>7.5</double>
|
|
|
|
</test>
|
|
|
|
<edit name="hinting">
|
|
|
|
<bool>false</bool>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
|
|
|
|
<match target="font">
|
2012-04-11 12:52:35 +02:00
|
|
|
<test name="family" compare="eq" ignore-blanks="true">
|
2006-09-04 21:47:52 +02:00
|
|
|
<string>Bitstream Vera Serif</string>
|
|
|
|
</test>
|
|
|
|
<test name="pixelsize" compare="less">
|
|
|
|
<double>7.5</double>
|
|
|
|
</test>
|
|
|
|
<edit name="hinting">
|
|
|
|
<bool>false</bool>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
|
|
|
|
<match target="font">
|
2012-04-11 12:52:35 +02:00
|
|
|
<test name="family" compare="eq" ignore-blanks="true">
|
2006-09-04 21:47:52 +02:00
|
|
|
<string>Bitstream Vera Sans Mono</string>
|
|
|
|
</test>
|
|
|
|
<test name="pixelsize" compare="less">
|
|
|
|
<double>7.5</double>
|
|
|
|
</test>
|
|
|
|
<edit name="hinting">
|
|
|
|
<bool>false</bool>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
|
2006-09-10 01:52:21 +02:00
|
|
|
</fontconfig>
|