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:
parent
872a08462e
commit
bdbb206960
77
lib/fontconfig/conf.d/30-lucida-aliases.conf
Normal file
77
lib/fontconfig/conf.d/30-lucida-aliases.conf
Normal 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>
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user