[Pkg-fonts-devel] Bug#687043: fonts-arphic-uming: Gives warnings with newer fontconfig
Package: fonts-arphic-uming
Version: 0.2.20080216.2-4
Severity: wishlist
Dear Maintainer,
I have used the attached patch in Ubuntu to remove warnings related to
unsupported multiple values (for <test> and <alias>) in config files.
Fontconfig added the warnings in 2.10, so this might not be relevant for
debian yet.
-- System Information:
Debian Release: wheezy/sid
APT prefers quantal-updates
APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal')
Architecture: i386 (i686)
Kernel: Linux 3.5.0-14-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
Versions of packages fonts-arphic-uming depends on:
ii debconf [debconf-2.0] 1.5.46ubuntu1
ii dpkg 1.16.7ubuntu3
fonts-arphic-uming recommends no packages.
fonts-arphic-uming suggests no packages.
.
fonts-arphic-uming (0.2.20080216.2-4ubuntu1) UNRELEASED; urgency=low
.
* 41-arphic-uming.conf (LP: #1034928)
- Updated so there are no multiple values in an alias tag
(FontConfig warns these are not supported).
* 64-arphic-uming.conf (LP: #1034928)
- Updated so there are no multiple values in a test tag
(FontConfig warns these are not supported).
Author: Radu Stoica <radumstoica@gmail.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1034928
---
--- fonts-arphic-uming-0.2.20080216.2.orig/41-arphic-uming.conf
+++ fonts-arphic-uming-0.2.20080216.2/41-arphic-uming.conf
@@ -7,22 +7,52 @@
-->
<alias>
<family>AR PL ShanHeiSun Uni</family>
+ <default><family>serif</family></default>
+ </alias>
+ <alias>
<family>AR PL ShanHeiSun Uni MBE</family>
+ <default><family>serif</family></default>
+ </alias>
+ <alias>
<family>AR PL UMing CN</family>
+ <default><family>serif</family></default>
+ </alias>
+ <alias>
<family>AR PL UMing HK</family>
+ <default><family>serif</family></default>
+ </alias>
+ <alias>
<family>AR PL UMing TW</family>
+ <default><family>serif</family></default>
+ </alias>
+ <alias>
<family>AR PL UMing TW MBE</family>
<default><family>serif</family></default>
</alias>
<!--
Monospace faces
-->
- <alias>
+ <alias>
<family>AR PL ShanHeiSun Uni</family>
+ <default><family>monospace</family></default>
+ </alias>
+ <alias>
<family>AR PL ShanHeiSun Uni MBE</family>
+ <default><family>monospace</family></default>
+ </alias>
+ <alias>
<family>AR PL UMing CN</family>
+ <default><family>monospace</family></default>
+ </alias>
+ <alias>
<family>AR PL UMing HK</family>
+ <default><family>monospace</family></default>
+ </alias>
+ <alias>
<family>AR PL UMing TW</family>
+ <default><family>monospace</family></default>
+ </alias>
+ <alias>
<family>AR PL UMing TW MBE</family>
<default><family>monospace</family></default>
</alias>
--- fonts-arphic-uming-0.2.20080216.2.orig/64-arphic-uming.conf
+++ fonts-arphic-uming-0.2.20080216.2/64-arphic-uming.conf
@@ -4,6 +4,8 @@
<match target="pattern">
<test qual="any" name="lang" compare="contains">
<string>zh-cn</string>
+ </test>
+ <test qual="any" name="lang" compare="contains">
<string>zh-sg</string>
</test>
<test qual="any" name="family">
@@ -17,6 +19,8 @@
<match target="pattern">
<test qual="any" name="lang" compare="contains">
<string>zh-cn</string>
+ </test>
+ <test qual="any" name="lang" compare="contains">
<string>zh-sg</string>
</test>
<test name="family">
@@ -30,6 +34,8 @@
<match target="pattern">
<test qual="any" name="lang" compare="contains">
<string>zh-hk</string>
+ </test>
+ <test qual="any" name="lang" compare="contains">
<string>zh-mo</string>
</test>
<test qual="any" name="family">
@@ -43,6 +49,8 @@
<match target="pattern">
<test qual="any" name="lang" compare="contains">
<string>zh-hk</string>
+ </test>
+ <test qual="any" name="lang" compare="contains">
<string>zh-mo</string>
</test>
<test name="family">
Reply to: