Hi Osamu, Thanks for your bug reporting and patch, I will double check it soon. Cheers Zhengpeng
On Wed, May 25, 2011 at 10:54 PM, Osamu Aoki <os...@debian.org> wrote: > severity 533189 critical > tags 533189 patch > thanks > > Hi, > > This package creates configuration file in 43 which does not follow > fontconfig rule and breaks expected behavior of fontconfig and prevents > other font package to be properly configured via normal way. > > /etc/fonts/conf.d/README states: > > 20 through 29 font rendering options **** > 60 through 69 generic aliases, map generic->family > > Since it breaks other unrelated packages, this is critical bug. > > critical > makes unrelated software on the system (or the whole system) break, or > causes serious data loss, or introduces a security hole on systems where > you install the package. > > Since 60 is for latin and 65 is for nonlatin, and if you wish to ensure > this comes on the top of default nonlatin other font choices, it is > beast to put it to 64. (If Japanese want Japanese font over this, they > can use normal configuration file to override it with > ~/.fonts.conf.d/*.conf . Now we can not even do this) > > First you should not install 43-wqy-zenhei-sharp.conf 44-wqy-zenhei.conf > > Then install attached 25-wqy-zenhei.conf 64-wqy-zenhei.conf > Since this is san-serif font, this should not be selected with high > priority for serif fonts. The omissions are intentional. > > This is best implemented by changing debian/rules and dropping dpatch. > (Maybe with dpkg src 3.0 (quilt). > > As for README.Debian, "Upstream has provided a zenity based scripts..." > but I see no zenity based scripts. I see simple shell script only. > > If I get no response, I may prepare NMU. (I am not too comfortable > packaging this since upstream site is all in Chinese. I can only fix > the existing package.) > > Regards, > > Osamu > > PS: examples/zenheiset needs to be updated. > > PS: I understand bitmap fonts needs to be disabled. > > PPS: ja, zh_CN, zh_TW preference conflicts over Unicode han unification > should be dealt a bit more nicely. That is something we need to discuss > with fontconfig. > >