Move some section from fonts.conf into conf.avail files

URL aliases, AMT aliases, Che globaladvance fixes and Vera <8pt unhinting
sections all moved into conf.avail, to load before user and local confs.
This commit is contained in:
James Cloos 2006-09-04 15:47:52 -04:00
parent 6001891589
commit c3425fa671
5 changed files with 131 additions and 133 deletions

View File

@ -0,0 +1,47 @@
<!--
URW provides metric and shape compatible fonts for these 10 Adobe families.
-->
<alias>
<family>Avant Garde</family>
<accept><family>URW Gothic L</family></accept>
</alias>
<alias>
<family>Bookman</family>
<accept><family>URW Bookman L</family></accept>
</alias>
<alias>
<family>Courier</family>
<accept><family>Nimbus Mono L</family></accept>
</alias>
<alias>
<family>Helvetica</family>
<accept><family>Nimbus Sans L</family></accept>
</alias>
<alias>
<family>New Century Schoolbook</family>
<accept><family>Century Schoolbook L</family></accept>
</alias>
<alias>
<family>Palatino</family>
<accept><family>URW Palladio L</family></accept>
</alias>
<alias>
<family>Times</family>
<accept><family>Nimbus Roman No9 L</family></accept>
</alias>
<alias>
<family>Zapf Chancery</family>
<accept><family>URW Chancery L</family></accept>
</alias>
<alias>
<family>Zapf Dingbats</family>
<accept><family>Dingbats</family></accept>
</alias>
<match target="pattern">
<test name="family">
<string>Symbol</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>Standard Symbols L</string>
</edit>
</match>

View File

@ -0,0 +1,16 @@
<!--
AMT provides metric and shape compatible fonts for these three web font
families.
-->
<alias>
<family>Times New Roman</family>
<accept><family>Thorndale AMT</family></accept>
</alias>
<alias>
<family>Arial</family>
<accept><family>Albany AMT</family></accept>
</alias>
<alias>
<family>Courier New</family>
<accept><family>Cumberland AMT</family></accept>
</alias>

View File

@ -0,0 +1,24 @@
<!--
Some Asian fonts misadvertise themselves as monospaced when
in fact they are dual-spaced (half and full). This makes
FreeType very confused as it forces all widths to match.
Undo this magic by disabling the width forcing code -->
<match target="font">
<test name="family"><string>GulimChe</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>DotumChe</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>BatangChe</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>GungsuhChe</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>

View File

@ -0,0 +1,44 @@
<!--
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>

View File

@ -149,139 +149,6 @@
</edit> </edit>
</match> </match>
<!--
URW provides metric and shape compatible fonts for these 10 Adobe families.
-->
<alias>
<family>Avant Garde</family>
<accept><family>URW Gothic L</family></accept>
</alias>
<alias>
<family>Bookman</family>
<accept><family>URW Bookman L</family></accept>
</alias>
<alias>
<family>Courier</family>
<accept><family>Nimbus Mono L</family></accept>
</alias>
<alias>
<family>Helvetica</family>
<accept><family>Nimbus Sans L</family></accept>
</alias>
<alias>
<family>New Century Schoolbook</family>
<accept><family>Century Schoolbook L</family></accept>
</alias>
<alias>
<family>Palatino</family>
<accept><family>URW Palladio L</family></accept>
</alias>
<alias>
<family>Times</family>
<accept><family>Nimbus Roman No9 L</family></accept>
</alias>
<alias>
<family>Zapf Chancery</family>
<accept><family>URW Chancery L</family></accept>
</alias>
<alias>
<family>Zapf Dingbats</family>
<accept><family>Dingbats</family></accept>
</alias>
<match target="pattern">
<test name="family">
<string>Symbol</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>Standard Symbols L</string>
</edit>
</match>
<!--
AMT provides metric and shape compatible fonts for these three web font
families.
-->
<alias>
<family>Times New Roman</family>
<accept><family>Thorndale AMT</family></accept>
</alias>
<alias>
<family>Arial</family>
<accept><family>Albany AMT</family></accept>
</alias>
<alias>
<family>Courier New</family>
<accept><family>Cumberland AMT</family></accept>
</alias>
<!--
Some Asian fonts misadvertise themselves as monospaced when
in fact they are dual-spaced (half and full). This makes
FreeType very confused as it forces all widths to match.
Undo this magic by disabling the width forcing code -->
<match target="font">
<test name="family"><string>GulimChe</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>DotumChe</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>BatangChe</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>GungsuhChe</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</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 local system customization file Load local system customization file
--> -->