xenocara/dist/fontconfig/conf.d/30-lucida-aliases.conf
matthieu ead261fb97 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@.
2013-03-09 14:00:31 +00:00

78 lines
1.8 KiB
XML

<?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>