[Webkit-unassigned] [Bug 27734] WINCE PORT: font related changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 3 13:28:36 PDT 2009


--- Comment #5 from Yong Li <yong.li at torchmobile.com>  2009-08-03 13:28:35 PDT ---
(In reply to comment #4)
> What is the point of the change to setGlyphDataForCharacter in
> FontFastPath.cpp?

When we fail to link a font to the character, the changed code blocks will be
reached. We are supposed to draw a square (missingGlyphData()) for this
character. But on WINCE, we don't have real glyph. We use the character value
as its fake glyph, and let GDI display the character directly. Our
missingGplyData() returns a null character, which is not suitable for GDI to
display. Also, sometimes we cannot map a font for the character on WINCE, but
GDI may still be able to display the character, probably because the font
package is not installed correctly. So in FontFastPath.cpp, we just always set
the glyph to be same as the character, and let GDI solve it.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list