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@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.