[Pkg-fonts-devel] Bug#686685: fonts-droid: Will produce warnings with newer fontconfig
Package: fonts-droid
Version: 20111207+git-1
Severity: wishlist
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch
-- Package-specific info:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================-=============-=============-======================================
ii fontconfig 2.10.1-0ubunt i386 generic font configuration library - s
ii libfreetype6:i38 2.4.10-0ubunt i386 FreeType 2 font engine, shared library
ii libxft2:i386 2.3.1-1 i386 FreeType-based font drawing library fo
*** /tmp/tmpRPKqZY/bug_body
In Ubuntu I applied the attached patch in order to silence fontconfig warnings:
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 103: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 138: Having multiple values in <test> isn't supported and may not works as expected
These won't hit Debian yet, hence the wishlist status. Fontconfig added the warnings
in 2.10:
http://cgit.freedesktop.org/fontconfig/commit/?id=2837c63876b9b1f27d74aad51d45fc18d48f4652
Though there's a pretty good argument that the severity should be higher as multiple
values in <test> isn't supported even if there isn't a warning.
I'm a member of pkg-fonts, so I can commit this myself if there is no objection.
* debian/local/65-droid-sans-fonts.conf: (LP: #1034928)
- Update so that there are not multiple values within
test tags as Fontconfig warns that this is not supported.
Thanks for considering the patch.
- Andrew Starr-Bochicchio
-- System Information:
Debian Release: wheezy/sid
APT prefers quantal-updates
APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal-proposed'), (500, 'quantal'), (100, 'quantal-backports')
Architecture: i386 (i686)
Kernel: Linux 3.5.0-13-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru fonts-droid-20111207+git/debian/changelog fonts-droid-20111207+git/debian/changelog
diff -Nru fonts-droid-20111207+git/debian/local/65-droid-sans-fonts.conf fonts-droid-20111207+git/debian/local/65-droid-sans-fonts.conf
--- fonts-droid-20111207+git/debian/local/65-droid-sans-fonts.conf 2012-03-28 16:08:26.000000000 -0400
+++ fonts-droid-20111207+git/debian/local/65-droid-sans-fonts.conf 2012-09-04 13:53:01.000000000 -0400
@@ -96,9 +96,17 @@
<match target="scan">
<test name="lang" compare="not_eq">
<string>zh-cn</string>
+ </test>
+ <test name="lang" compare="not_eq">
<string>zh-sg</string>
+ </test>
+ <test name="lang" compare="not_eq">
<string>zh-hk</string>
+ </test>
+ <test name="lang" compare="not_eq">
<string>zh-tw</string>
+ </test>
+ <test name="lang" compare="not_eq">
<string>zh</string>
</test>
<test name="family">
@@ -131,9 +139,17 @@
<match target="scan">
<test name="lang">
<string>zh-cn</string>
+ </test>
+ <test name="lang" compare="eq">
<string>zh-sg</string>
+ </test>
+ <test name="lang" compare="eq">
<string>zh-hk</string>
+ </test>
+ <test name="lang" compare="eq">
<string>zh-tw</string>
+ </test>
+ <test name="lang" compare="eq">
<string>zh</string>
</test>
<test name="family">
Reply to: