[Bug 492510] Regression: wqy-bitmap-fonts preferred font over truetype fonts

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 27 10:12:18 UTC 2009

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


--- Comment #5 from Akira TAGOH <tagoh at redhat.com>  2009-03-27 06:11:50 EDT ---
Well, I'm not a good person to answer all of questions but just tried to keep
alive as much as possible and get rid of issue only there. and this fontconfig
rule should be argued on bugzilla and the maling list before as far as I can
read a bugzilla in changelog but anyway. so with thinking of that:

(In reply to comment #4)
> 2. IMHO the fontconfig rules in a package should never declare rules for fonts
> not included in this package. So I'd dump all the rules not dealing with
> "WenQuanYi Bitmap Song". If someone wants "AR PL ShanHeiSun Uni" rules he can
> ask to have them added to the Fedora package that ships "AR PL ShanHeiSun Uni"
> (if any)

In that sense, adding them to a package that has "AR PL ShanHeiSunUni" and "AR
PL ZenKai Uni" also violates that rule, yes?
Current rules might breaks applications (or just nothing happens and fallback
next then though) if no "AR PL ShanHeiSun Uni" package is installed and vice
versa. I don't know how much needs there are to have such rules though.

> 4. what's the point of
>  <match>
>   <test name="lang" compare="contains">
>    <string>zh</string>
>   </test>
>   <test name="family">
>    <string>monospace</string>
>   </test>
>   <test name="pixelsize" compare="more">
>    <double>16</double>
>   </test>
>  </match>
> ???

My understanding was, they want to have a outlined font instead of bitmap font
if the pixel size is out of range what the font support. the original
fontconfig conf didn't have a testing of lang though, just added it so that the
font has to be added to the list instead of using the priority list.

> So to sum up, you've simplified a bit but it needs to be simplified a lot more,
> this file tries to be too clever by half and only succeeds in confusing apps
> and users  

Personally we should add all of bitmap fonts to the black list for fontconfig
because mixing up the bitmap font and the outlined font looks ugly and they
only support limited sizes. that would be highly likely to see such situation.
particularly for CJK bitmap fonts. when gathering fonts for different sizes to
use enough, the designs among different sizes aren't necessarily consolidated
well because they have a lot of glyphs and different authors may has made it.

Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the fonts-bugs mailing list