Package: fonts-nanum Version: 3.020-1 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu quantal ubuntu-patch
*** /tmp/tmpPs1otM/bug_body In Ubuntu I applied the attached patch in order to silence fontconfig warnings: Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 9: Having multiple values in <test> isn't supported and may not works as expected Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having multiple <family> in <alias> isn't supported and may not works as expected Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having multiple <family> in <alias> isn't supported and may not works as expected Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having multiple <family> in <alias> isn't supported and may not works as expected Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 26: Having multiple <family> in <alias> isn't supported and may not works as expected Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 31: Having multiple values in <test> isn't supported and may not works as expected Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 40: 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/90-fonts-nanum.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-nanum.conf' --- debian/90-fonts-nanum.conf 2011-10-13 00:22:03 +0000 +++ debian/90-fonts-nanum.conf 2012-09-04 19:42:53 +0000 @@ -4,8 +4,16 @@ <!-- workaround for wrong style and weight --> <match target="scan"> <test name="fullname" qual="any" compare="eq"> - <string>NanumMyeongjoBold</string><string>나눔명조 Bold</string> - <string>NanumGothicBold</string><string>나눔고딕 Bold</string> + <string>NanumMyeongjoBold</string> + </test> + <test name="fullname" qual="any" compare="eq"> + <string>나눔명조 Bold</string> + </test> + <test name="fullname" qual="any" compare="eq"> + <string>NanumGothicBold</string> + </test> + <test name="fullname" qual="any" compare="eq"> + <string>나눔고딕 Bold</string> </test> <edit name="style" mode="assign"> <string>Bold</string> @@ -16,18 +24,36 @@ </match> <!-- fallback of the MS fonts --> <alias> - <family>Gulim</family><family>굴림</family> - <family>Dotum</family><family>돋움</family> - <prefer><family>NanumGothic</family></prefer> - </alias> - <alias> - <family>Batang</family><family>바탕</family> + <family>Gulim</family> + <prefer><family>NanumGothic</family></prefer> + </alias> + <alias> + <family>굴림</family> + <prefer><family>NanumGothic</family></prefer> + </alias> + <alias> + <family>Dotum</family> + <prefer><family>NanumGothic</family></prefer> + </alias> + <alias> + <family>돋움</family> + <prefer><family>NanumGothic</family></prefer> + </alias> + <alias> + <family>Batang</family> + <prefer><family>NanumMyeongjo</family></prefer> + </alias> + <alias> + <family>바탕</family> <prefer><family>NanumMyeongjo</family></prefer> </alias> <!-- specify fallbacks for the missing glyphs. --> <match target="pattern"> - <test name="family" compare="eq"> - <string>나눔고딕</string><string>NanumGothic</string> + <test name="fullname" qual="any" compare="eq"> + <string>NanumGothicBold</string> + </test> + <test name="fullname" qual="any" compare="eq"> + <string>나눔고딕 Bold</string> </test> <edit name="family" mode="append"> <string>UnDotum</string> @@ -36,7 +62,10 @@ </match> <match target="pattern"> <test name="family" compare="eq"> - <string>나눔명조</string><string>NanumMyeongjo</string> + <string>나눔명조</string> + </test> + <test name="family" compare="eq"> + <string>NanumMyeongjo</string> </test> <edit name="family" mode="append"> <string>UnBatang</string>