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

bugzilla at redhat.com bugzilla at redhat.com
Fri May 1 09:23:20 UTC 2009


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


https://bugzilla.redhat.com/show_bug.cgi?id=492510





--- Comment #48 from Akira TAGOH <tagoh at redhat.com>  2009-05-01 05:23:19 EDT ---
Aside from adding any rules for the fonts not owned, a rule to fall back the
font to AR PL UMing CN for the request out of the supported pixel in WenQuanYi
Bitmap Song is broken. basically any expressions in match tag is a AND
operation. thus,

<match target="pattern">
    <test equal="any" compare="eq" name="family">
            <string>WenQuanYi Bitmap Song</string>
    </test>
    <test equal="any" compare="eq" name="family">
            <string>serif</string>
    </test>
    <test compare="more" name="pixelsize">
            <double>16</double>
    </test>
    <edit name="family" more="prepend" binding="same">
            <string>AR PL UMing CN</string>
    </edit>
</match>

would means something like:

if (pattern.family.compare("WenQuanYi Bitmap Song") &&
pattern.family.compare("serif") && pattern.pixelsize > 16.0) {
  pattern.family.prepend("AR PL UMing CN");
}

which never happens.
that's why case 3 and 7 didn't work FWIW.


I don't understand why you prefer this complex rule rather than my simplest
proposal though.

-- 
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 Fedora-fonts-bugs-list mailing list