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@.
This commit is contained in:
matthieu 2012-01-10 21:47:32 +00:00
parent 872a08462e
commit bdbb206960
2 changed files with 79 additions and 0 deletions

View File

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

View File

@ -35,6 +35,7 @@ CONF_FILES = \
20-fix-globaladvance.conf \
20-unhint-small-vera.conf \
25-unhint-nonlatin.conf \
30-lucida-aliases.conf \
30-urw-aliases.conf \
30-metric-aliases.conf \
31-nonmst.conf \
@ -57,6 +58,7 @@ CONF_LINKS = \
10-autohint.conf \
20-fix-globaladvance.conf \
20-unhint-small-vera.conf \
30-lucida-aliases.conf \
30-urw-aliases.conf \
30-metric-aliases.conf \
31-nonmst.conf \