more substitution rules

This commit is contained in:
nim 2007-06-03 22:57:30 +00:00
parent c051be2f6e
commit 77fbdb6cc1
2 changed files with 53 additions and 7 deletions

View File

@ -8,8 +8,16 @@
© 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net> © 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
--> -->
<fontconfig> <fontconfig>
<!-- Declare DejaVu Sans a valid substitute for all known Bitstream Vera Sans <!-- Declare DejaVu Sans a valid substitute for all known Bitstream Vera Sans
derivatives which kept original metrics --> derivatives which kept original metrics -->
<match>
<test name="family">
<string>Bitstream Prima Sans</string>
</test>
<edit name="family" mode="append" binding="same">
<string>DejaVu Sans</string>
</edit>
</match>
<match> <match>
<test name="family"> <test name="family">
<string>Bitstream Vera Sans</string> <string>Bitstream Vera Sans</string>
@ -58,6 +66,15 @@
<string>DejaVu Sans</string> <string>DejaVu Sans</string>
</edit> </edit>
</match> </match>
<!-- In case VerajjaPDA stops declaring itself as Verajja -->
<match>
<test name="family">
<string>VerajjaPDA</string>
</test>
<edit name="family" mode="append" binding="same">
<string>DejaVu Sans</string>
</edit>
</match>
<match> <match>
<test name="family"> <test name="family">
<string>Bepa</string> <string>Bepa</string>
@ -74,8 +91,16 @@
<string>DejaVu Sans</string> <string>DejaVu Sans</string>
</edit> </edit>
</match> </match>
<!-- Declare DejaVu Serif a valid substitute for all known Bitstream Vera Serif <!-- Declare DejaVu Serif a valid substitute for all known Bitstream Vera Serif
derivatives which kept the original metrics --> derivatives which kept the original metrics -->
<match>
<test name="family">
<string>Bitstream Prima Serif</string>
</test>
<edit name="family" mode="append" binding="same">
<string>DejaVu Serif</string>
</edit>
</match>
<match> <match>
<test name="family"> <test name="family">
<string>Bitstream Vera Serif</string> <string>Bitstream Vera Serif</string>
@ -108,6 +133,15 @@
<string>DejaVu Serif</string> <string>DejaVu Serif</string>
</edit> </edit>
</match> </match>
<!-- In case Verajja Serif stops declaring itself as DejaVu Serif -->
<match>
<test name="family">
<string>Verajja Serif</string>
</test>
<edit name="family" mode="append" binding="same">
<string>DejaVu Serif</string>
</edit>
</match>
<match> <match>
<test name="family"> <test name="family">
<string>Olwen Serif</string> <string>Olwen Serif</string>
@ -116,8 +150,16 @@
<string>DejaVu Serif</string> <string>DejaVu Serif</string>
</edit> </edit>
</match> </match>
<!-- Declare DejaVu Sans Mono a valid substitute for all known Bitstream Vera <!-- Declare DejaVu Sans Mono a valid substitute for all known Bitstream Vera
Sans Mono derivatives which kept the original metrics --> Sans Mono derivatives which kept the original metrics -->
<match>
<test name="family">
<string>Bitstream Prima Sans Mono</string>
</test>
<edit name="family" mode="append" binding="same">
<string>DejaVu Sans Mono</string>
</edit>
</match>
<match> <match>
<test name="family"> <test name="family">
<string>Bitstream Vera Sans Mono</string> <string>Bitstream Vera Sans Mono</string>
@ -158,7 +200,7 @@
<string>DejaVu Sans Mono</string> <string>DejaVu Sans Mono</string>
</edit> </edit>
</match> </match>
<!-- Assign generic name --> <!-- Assign generic name -->
<alias> <alias>
<family>DejaVu Sans</family> <family>DejaVu Sans</family>
<default> <default>
@ -177,7 +219,7 @@
<family>monospace</family> <family>monospace</family>
</default> </default>
</alias> </alias>
<!-- Alias generic names --> <!-- Alias generic names -->
<alias> <alias>
<family>sans-serif</family> <family>sans-serif</family>
<prefer> <prefer>

View File

@ -17,7 +17,7 @@
Name: %{fontname}-fonts Name: %{fontname}-fonts
Version: 2.17 Version: 2.17
Release: 3%{?alphatag}%{?dist} Release: 4%{?alphatag}%{?dist}
Summary: DejaVu fonts Summary: DejaVu fonts
Group: User Interface/X Group: User Interface/X
@ -159,6 +159,10 @@ fi
%changelog %changelog
* Sun Jun 3 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.17-3
declare DejaVu a valid Bitream Prima™ substitute
* Thu May 31 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net> * Thu May 31 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.17-3 2.17-3
small spec cleanups small spec cleanups
@ -166,7 +170,7 @@ fi
* Sat May 26 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net> * Sat May 26 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2.17-2 2.17-2
perl-Font-TTF has been fixed upstream, use perl(Font::TTF) BR perl-Font-TTF has been fixed upstream, use perl(Font::TTF) BR
remove comment about %{_sysconfdir}/fonts ownership, as it's now owned remove comment about /etc/fonts/conf.d ownership, as it's now owned
by filesystem by filesystem
* Sun May 13 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net> * Sun May 13 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>