diff options
author | Keith Packard <keithp@keithp.com> | 2003-02-12 18:23:03 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2003-02-12 18:23:03 +0000 |
commit | b7a2e1e27b35154ea3b782f1f61bd2ef83cb27b2 (patch) | |
tree | c63795fe55dc7d862b225bced5b1604b72a76fc6 /fonts.conf.in | |
parent | dda7794f1be86fa270410e63ce96104843ded66f (diff) |
Add prefer_outline hacks to replace bitmap fonts with equivalent outlines
Diffstat (limited to 'fonts.conf.in')
-rw-r--r-- | fonts.conf.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/fonts.conf.in b/fonts.conf.in index 2ffe083..768ccf5 100644 --- a/fonts.conf.in +++ b/fonts.conf.in @@ -176,6 +176,34 @@ </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 --> <alias> |