summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-03-09 14:00:32 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-03-09 14:00:32 +0000
commit5fae7d64945e138d615ae096ceb020c3af050169 (patch)
tree6b20fd6d86149751da9b3d20692a65f0a070e3ec /dist
parentbde6772e0a5e792a66d036ebd2478689b2eab439 (diff)
New config file providing replacement for Lucida fonts.
Replace ugly bitmapped fonts by Luxi or DejaVu TrueType fonts, Provide aliases for commonly found Lucida family fonts (Lucida, Lucida Grande, Lucida Sans Unicode). Prodded by a submission by Tobias Ulmer. Ok mpi@.
Diffstat (limited to 'dist')
-rw-r--r--dist/fontconfig/conf.d/30-lucida-aliases.conf77
1 files changed, 77 insertions, 0 deletions
diff --git a/dist/fontconfig/conf.d/30-lucida-aliases.conf b/dist/fontconfig/conf.d/30-lucida-aliases.conf
new file mode 100644
index 000000000..76de46339
--- /dev/null
+++ b/dist/fontconfig/conf.d/30-lucida-aliases.conf
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!--
+ Provides alternatives for various Lucida fonts
+ -->
+ <!-- Substitutions for ugly bitmap fonts -->
+ <match target="pattern">
+ <test qual="any" name="family">
+ <string>Lucida</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Lucida Sans</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test qual="any" name="family">
+ <string>LucidaBright</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Lucida Bright</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test qual="any" name="family">
+ <string>LucidaTypewriter</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Lucida Sans Typewriter</string>
+ </edit>
+ </match>
+ <!-- Aliases -->
+ <alias binding="same">
+ <family>Lucida</family>
+ <accept>
+ <family>Luxi Sans</family>
+ </accept>
+ </alias>
+ <alias binding="same">
+ <family>Lucida Grande</family>
+ <accept>
+ <family>Lucida Sans</family>
+ <family>Luxi Sans</family>
+ </accept>
+ </alias>
+ <alias binding="same">
+ <family>Lucida Sans Unicode</family>
+ <accept>
+ <family>Lucida Sans</family>
+ <family>Luxi Sans</family>
+ </accept>
+ </alias>
+ <alias binding="same">
+ <family>Lucida Sans</family>
+ <accept><family>Luxi Sans</family></accept>
+ </alias>
+ <alias binding="same">
+ <family>Lucida Sans Typewriter</family>
+ <accept>
+ <family>DejaVu Sans Mono</family>
+ </accept>
+ </alias>
+ <alias binding="same">
+ <family>Lucida Console</family>
+ <accept>
+ <family>Lucida Sans Typewriter</family>
+ <family>DejaVu Sans Mono</family>
+ </accept>
+ </alias>
+ <alias binding="strong">
+ <family>Lucida Bright</family>
+ <accept>
+ <family>Luxi Serif</family>
+ <family>DejaVu Serif</family>
+ </accept>
+ </alias>
+</fontconfig>