summaryrefslogtreecommitdiff
path: root/dist/fontconfig/conf.d/30-lucida-aliases.conf
diff options
context:
space:
mode:
Diffstat (limited to 'dist/fontconfig/conf.d/30-lucida-aliases.conf')
-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>