Add prefer_outline hacks to replace bitmap fonts with equivalent outlines

This commit is contained in:
Keith Packard 2003-02-12 18:23:03 +00:00
parent dda7794f1b
commit b7a2e1e27b
1 changed files with 28 additions and 0 deletions

View File

@ -175,6 +175,34 @@
<accept><family>Courier New</family></accept>
</alias>
<!--
Check user preference to avoid bitmap fonts and replace
bitmap face names with equivalent scalable fonts
-->
<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>Helvetica</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Arial</string>
</edit>
</match>
<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>Times</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Times New Roman</string>
</edit>
</match>
<!--
Provide required aliases for standard names
-->