Add Vera support to default configuration

This commit is contained in:
Keith Packard 2003-04-16 22:04:42 +00:00
parent e2925d7dc2
commit b1e98ed99e
1 changed files with 50 additions and 0 deletions

View File

@ -72,6 +72,7 @@
Serif faces Serif faces
--> -->
<alias> <alias>
<family>Bitstream Vera Serif</family>
<family>Times</family> <family>Times</family>
<family>Times New Roman</family> <family>Times New Roman</family>
<family>Nimbus Roman No9 L</family> <family>Nimbus Roman No9 L</family>
@ -86,6 +87,7 @@
Sans-serif faces Sans-serif faces
--> -->
<alias> <alias>
<family>Bitstream Vera Sans</family>
<family>Helvetica</family> <family>Helvetica</family>
<family>Arial</family> <family>Arial</family>
<family>Verdana</family> <family>Verdana</family>
@ -102,6 +104,7 @@
Monospace faces Monospace faces
--> -->
<alias> <alias>
<family>Bitstream Vera Sans Mono</family>
<family>Courier</family> <family>Courier</family>
<family>Courier New</family> <family>Courier New</family>
<family>Andale Mono</family> <family>Andale Mono</family>
@ -153,6 +156,50 @@
<edit name="globaladvance"><bool>false</bool></edit> <edit name="globaladvance"><bool>false</bool></edit>
</match> </match>
<!--
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">
<test name="family">
<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">
<test name="family">
<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">
<test name="family">
<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>
<!-- <!--
Load per-user customization file Load per-user customization file
--> -->
@ -217,6 +264,7 @@
<alias> <alias>
<family>serif</family> <family>serif</family>
<prefer> <prefer>
<family>Bitstream Vera Serif</family>
<family>Times New Roman</family> <family>Times New Roman</family>
<family>Nimbus Roman No9 L</family> <family>Nimbus Roman No9 L</family>
<family>Luxi Serif</family> <family>Luxi Serif</family>
@ -230,6 +278,7 @@
<alias> <alias>
<family>sans-serif</family> <family>sans-serif</family>
<prefer> <prefer>
<family>Bitstream Vera Sans</family>
<family>Verdana</family> <family>Verdana</family>
<family>Nimbus Sans L</family> <family>Nimbus Sans L</family>
<family>Luxi Sans</family> <family>Luxi Sans</family>
@ -245,6 +294,7 @@
<alias> <alias>
<family>monospace</family> <family>monospace</family>
<prefer> <prefer>
<family>Bitstream Vera Sans Mono</family>
<family>Andale Mono</family> <family>Andale Mono</family>
<family>Courier New</family> <family>Courier New</family>
<family>Luxi Mono</family> <family>Luxi Mono</family>