summaryrefslogtreecommitdiff
path: root/fonts.conf.in
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2005-04-21 19:03:53 +0000
committerKeith Packard <keithp@keithp.com>2005-04-21 19:03:53 +0000
commit716ac8b8033794e2557ad567005dfff4dd95f031 (patch)
treee1aacbc691ccabf52034bca1d16bf476aec9dab8 /fonts.conf.in
parent2ff4f0760a700bf7c6e1ed4c5072a524b02243ca (diff)
Don't force bitmap font enable in default configuration; allows users to
override this in ~/.fonts.conf Updated translations Destroy font configuration on exit to help valgrind Use own transcoding routines in preference to iconv which appears to have leaks in some translators. Call iconv_close after using iconv (oops). Prefer unicode encoding of Euro char as some fonts mis-encode Euro in other ones. Must fetch bitmap glyphs to get width values to check for monospace/dual-width fonts.
Diffstat (limited to 'fonts.conf.in')
-rw-r--r--fonts.conf.in37
1 files changed, 14 insertions, 23 deletions
diff --git a/fonts.conf.in b/fonts.conf.in
index ef988ee..aa93427 100644
--- a/fonts.conf.in
+++ b/fonts.conf.in
@@ -140,33 +140,24 @@
</match>
<!--
- URW provides metric and shape compatible fonts for these 3 Adobe families
- Mark these as effective replacements by binding the replacement
- family names strongly
+ URW provides metric and shape compatible fonts for these 3 Adobe families.
-->
- <match target="pattern">
- <test name="family"><string>Times</string></test>
- <edit name="family" mode="append" binding="same">
- <string>Nimbus Roman No9 L</string>
- </edit>
- </match>
- <match target="pattern">
- <test name="family"><string>Helvetica</string></test>
- <edit name="family" mode="append" binding="same">
- <string>Nimbus Sans L</string>
- </edit>
- </match>
- <match target="pattern">
- <test name="family"><string>Courier</string></test>
- <edit name="family" mode="append" binding="same">
- <string>Nimbus Mono L</string>
- </edit>
- </match>
+ <alias>
+ <family>Times</family>
+ <accept><family>Nimbus Roman No9 L</family></accept>
+ </alias>
+ <alias>
+ <family>Helvetica</family>
+ <accept><family>Nimbus Sans L</family></accept>
+ </alias>
+ <alias>
+ <family>Courier</family>
+ <accept><family>Nimbus Mono L</family></accept>
+ </alias>
<!--
AMT provides metric and shape compatible fonts for these three web font
- families. Bind them weakly as matching here is not as important as
- with web fonts.
+ families.
-->
<alias>
<family>Times New Roman</family>