diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-03-09 13:59:49 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-03-09 13:59:49 +0000 |
commit | bde6772e0a5e792a66d036ebd2478689b2eab439 (patch) | |
tree | 24f09d224abd9106efc5fc4fdb0949ee7c075068 | |
parent | 509c439302e0bd1a27492a0dc7a6c8b980991811 (diff) |
Add a substitution from fonts that map to ugly bitmapped ones
Maps to DejaVu fonts. Most of the work done by martynas@
and deraadt@, with inputs and tests from naddy@, todd@
and lots of others.
-rw-r--r-- | dist/fontconfig/conf.d/31-nonmst.conf | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/dist/fontconfig/conf.d/31-nonmst.conf b/dist/fontconfig/conf.d/31-nonmst.conf new file mode 100644 index 000000000..7be4989d6 --- /dev/null +++ b/dist/fontconfig/conf.d/31-nonmst.conf @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <!-- + $OpenBSD: 31-nonmst.conf,v 1.1 2013/03/09 13:59:48 matthieu Exp $ + Replacement using DejaVu fonts. + --> + + <match target="pattern"> + <test qual="any" name="family"> + <string>Times New Roman</string> + </test> + <edit name="family" mode="assign"> + <string>DejaVu Serif</string> + </edit> + </match> + + <match target="pattern"> + <test qual="any" name="family"> + <string>Times</string> + </test> + <edit name="family" mode="assign"> + <string>DejaVu Serif</string> + </edit> + </match> + + <match target="pattern"> + <test qual="any" name="family"> + <string>Arial</string> + </test> + <edit name="family" mode="assign"> + <string>DejaVu Sans</string> + </edit> + </match> + + <match target="pattern"> + <test qual="any" name="family"> + <string>Helvetica</string> + </test> + <edit name="family" mode="assign"> + <string>DejaVu Sans</string> + </edit> + </match> + + <match target="pattern"> + <test qual="any" name="family"> + <string>Courier</string> + </test> + <edit name="family" mode="assign"> + <string>DejaVu Sans Mono</string> + </edit> + </match> + + <match target="pattern"> + <test qual="any" name="family"> + <string>Courier New</string> + </test> + <edit name="family" mode="assign"> + <string>DejaVu Sans Mono</string> + </edit> + </match> + +</fontconfig> |