[Pkg-fonts-devel] Bug#533189: ttf-wqy-zenhei: it should be made only map family->generic

Cao Siliang siliang.cao at gmail.com
Sun Oct 30 07:26:41 UTC 2011

Package: ttf-wqy-zenhei
Version: 0.9.45-1
Severity: normal

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (700, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-bpo.2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ttf-wqy-zenhei depends on:
ii  fontconfig                    2.8.0-2.1  generic font configuration library

Versions of packages ttf-wqy-zenhei recommends:
ii  x-ttcidfont-conf              32         TrueType and CID fonts configurati

ttf-wqy-zenhei suggests no packages.

-- Configuration Files:
/etc/fonts/conf.avail/44-wqy-zenhei.conf changed:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- WenQuanYi Zen Hei Configure File -->
  <!-- modified by Madsen at SMTH -->
  <match target="font">
        <test qual="any" name="family">
                <string>WenQuanYi Zen Hei</string>
        <edit name="globaladvance"><bool>false</bool></edit>
        <edit name="spacing"><int>0</int></edit>
        <edit name="antialias" mode="assign"><bool>true</bool></edit>
        <edit name="hinting" mode="assign"><bool>true</bool></edit>
        <edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
        <edit name="autohint" mode="assign"><bool>false</bool></edit>
        <edit name="rh_prefer_bitmaps" mode="assign"><bool>false</bool></edit>
        <edit name="rgba" mode="assign"><const>none</const></edit>
        <edit name="embeddedbitmap"><bool>false</bool></edit>
          <family>WenQuanYi Zen Hei</family>
          <family>WenQuanYi Zen Hei Mono</family>

-- Body:
I found this problem either. I see "40 through 49      generic
identification, map family->generic" in conf.d/README, so I simplely
make this config file only map family to generic, which I think is what
a config file of a font pack should do, simplely maintaining its generic
information. Then the global CJK fonts selection should only be done by
modifying 65-nonlatin.conf. This is more sensible in my viewpoint.

More information about the Pkg-fonts-devel mailing list