129 lines
4.2 KiB
Diff
129 lines
4.2 KiB
Diff
Index: fontconfig-2.8.0/conf.d/30-urw-aliases.conf
|
|
===================================================================
|
|
--- fontconfig-2.8.0.orig/conf.d/30-urw-aliases.conf
|
|
+++ fontconfig-2.8.0/conf.d/30-urw-aliases.conf
|
|
@@ -5,6 +5,13 @@
|
|
URW provides metric and shape compatible fonts for some Adobe families.
|
|
Helvetica, Courier, and Times are handled in 30-metric-aliases.conf.
|
|
-->
|
|
+
|
|
+<!--
|
|
+ However, these fonts are quite ugly and do not render well on-screen,
|
|
+ so we avoid matching them if the application said `anymetrics'; in that
|
|
+ case, a more generic font with different metrics but better appearance
|
|
+ will be used.
|
|
+
|
|
<alias binding="same">
|
|
<family>Avant Garde</family>
|
|
<accept><family>URW Gothic L</family></accept>
|
|
@@ -29,6 +36,109 @@
|
|
<family>Zapf Dingbats</family>
|
|
<accept><family>Dingbats</family></accept>
|
|
</alias>
|
|
+ -->
|
|
+
|
|
+ <match target="pattern">
|
|
+ <test name="family">
|
|
+ <string>Avant Garde</string>
|
|
+ </test>
|
|
+ <test name="anymetrics" qual="all" compare="not_eq">
|
|
+ <bool>true</bool>
|
|
+ </test>
|
|
+ <edit name="family" mode="append">
|
|
+ <string>URW Gothic L</string>
|
|
+ </edit>
|
|
+ </match>
|
|
+ <match target="pattern">
|
|
+ <test name="family">
|
|
+ <string>Bookman</string>
|
|
+ </test>
|
|
+ <test name="anymetrics" qual="all" compare="not_eq">
|
|
+ <bool>true</bool>
|
|
+ </test>
|
|
+ <edit name="family" mode="append">
|
|
+ <string>URW Bookman L</string>
|
|
+ </edit>
|
|
+ </match>
|
|
+ <match target="pattern">
|
|
+ <test name="family">
|
|
+ <string>Courier</string>
|
|
+ </test>
|
|
+ <test name="anymetrics" qual="all" compare="not_eq">
|
|
+ <bool>true</bool>
|
|
+ </test>
|
|
+ <edit name="family" mode="append">
|
|
+ <string>Nimbus Mono L</string>
|
|
+ </edit>
|
|
+ </match>
|
|
+ <match target="pattern">
|
|
+ <test name="family">
|
|
+ <string>Helvetica</string>
|
|
+ </test>
|
|
+ <test name="anymetrics" qual="all" compare="not_eq">
|
|
+ <bool>true</bool>
|
|
+ </test>
|
|
+ <edit name="family" mode="append">
|
|
+ <string>Nimbus Sans L</string>
|
|
+ </edit>
|
|
+ </match>
|
|
+ <match target="pattern">
|
|
+ <test name="family">
|
|
+ <string>New Century Schoolbook</string>
|
|
+ </test>
|
|
+ <test name="anymetrics" qual="all" compare="not_eq">
|
|
+ <bool>true</bool>
|
|
+ </test>
|
|
+ <edit name="family" mode="append">
|
|
+ <string>Century Schoolbook L</string>
|
|
+ </edit>
|
|
+ </match>
|
|
+ <match target="pattern">
|
|
+ <test name="family">
|
|
+ <string>Palatino</string>
|
|
+ </test>
|
|
+ <test name="anymetrics" qual="all" compare="not_eq">
|
|
+ <bool>true</bool>
|
|
+ </test>
|
|
+ <edit name="family" mode="append">
|
|
+ <string>URW Palladio L</string>
|
|
+ </edit>
|
|
+ </match>
|
|
+ <match target="pattern">
|
|
+ <test name="family">
|
|
+ <string>Times</string>
|
|
+ </test>
|
|
+ <test name="anymetrics" qual="all" compare="not_eq">
|
|
+ <bool>true</bool>
|
|
+ </test>
|
|
+ <edit name="family" mode="append">
|
|
+ <string>Nimbus Roman No9 L</string>
|
|
+ </edit>
|
|
+ </match>
|
|
+ <match target="pattern">
|
|
+ <test name="family">
|
|
+ <string>Zapf Chancery</string>
|
|
+ </test>
|
|
+ <test name="anymetrics" qual="all" compare="not_eq">
|
|
+ <bool>true</bool>
|
|
+ </test>
|
|
+ <edit name="family" mode="append">
|
|
+ <string>URW Chancery L</string>
|
|
+ </edit>
|
|
+ </match>
|
|
+ <match target="pattern">
|
|
+ <test name="family">
|
|
+ <string>Zapf Dingbats</string>
|
|
+ </test>
|
|
+ <test name="anymetrics" qual="all" compare="not_eq">
|
|
+ <bool>true</bool>
|
|
+ </test>
|
|
+ <edit name="family" mode="append">
|
|
+ <string>Dingbats</string>
|
|
+ </edit>
|
|
+ </match>
|
|
+
|
|
+
|
|
<match target="pattern">
|
|
<test name="family">
|
|
<string>Symbol</string>
|