Hello,

I find when using non-antialias chinese font and antialias western
font in mozilla, the chinese characters were rendered correctly but
the western characters is a mess of pixels, and the reason is that
XftGlyphFontSpecRender uses firstFont->format as the maskFormat
argument to XRenderCompositeText{8,16,32}, and in my case the firstFont
is non-antialias with a PictureFormat of depth 1. Just set the maskFormat 
argument to None solve the problem. After read the Render protocol I 
still can't understand the reason to have this maskFormat argument, each
glyphset already has an format associated. Is it there for performance
reasons? Is set it to None the correct solution? I think many CJK users
would prefer AA western text with non-AA native text, especially when 
using mozilla.

Thanks and sorry for my poor english :-)
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to