[Pkg-fonts-devel] Bug#686698: fonts-unfonts-core: Will produce warnings with newer fontconfig
Package: fonts-unfonts-core
Version: 1.0.2-080608-5
Severity: wishlist
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch
*** /tmp/tmpVYE4Dd/bug_body
In Ubuntu I applied the attached patch in order to silence fontconfig warnings:
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-unfonts-core.conf", line 7: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-unfonts-core.conf", line 10: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-unfonts-core.conf", line 13: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-unfonts-core.conf", line 16: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-unfonts-core.conf", line 19: 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.
* debian/90-fonts-unfonts-core.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
=== modified file 'debian/90-fonts-unfonts-core.conf'
--- debian/90-fonts-unfonts-core.conf 2011-10-10 12:37:52 +0000
+++ debian/90-fonts-unfonts-core.conf 2012-09-04 20:08:49 +0000
@@ -3,11 +3,34 @@
<fontconfig>
<match target="font">
<test name="family" qual="any">
- <string>은 바탕</string><string>UnBatang</string>
- <string>은 돋움</string><string>UnDotum</string>
- <string>은 궁서</string><string>UnGungseo</string>
- <string>은 필기</string><string>UnPilgi</string>
- <string>은 그래픽</string><string>UnGraphic</string>
+ <string>은 바탕</string>
+ </test>
+ <test name="family" qual="any">
+ <string>UnBatang</string>
+ </test>
+ <test name="family" qual="any">
+ <string>은 돋움</string>
+ </test>
+ <test name="family" qual="any">
+ <string>UnDotum</string>
+ </test>
+ <test name="family" qual="any">
+ <string>은 궁서</string>
+ </test>
+ <test name="family" qual="any">
+ <string>UnGungseo</string>
+ </test>
+ <test name="family" qual="any">
+ <string>은 필기</string>
+ </test>
+ <test name="family" qual="any">
+ <string>UnPilgi</string>
+ </test>
+ <test name="family" qual="any">
+ <string>은 그래픽</string>
+ </test>
+ <test name="family" qual="any">
+ <string>UnGraphic</string>
</test>
<edit name="antialias" mode="assign" binding="strong"><bool>true</bool></edit>
Reply to: