[Webkit-unassigned] [Bug 20237] Zero width and space characters are displayed incorrectly if not contained in a fallback font.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 8 11:44:08 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20237





------- Comment #20 from mitz at webkit.org  2008-09-08 11:44 PDT -------
(In reply to comment #19)
> In the case of 0xFFFC, the same path is followed, except no glyph is found
> using font-linking [...]

But we should never be asking for a glyph for U+FFFC. We should -- and we
currently don't -- ask for a glyph for zero-width space instead. The reason we
don't is that even though GlyphPageTreeNode::initializePage() is aware of this
substitution, Font::treatAsZeroWidthSpace() is not, and the latter is what's
used in the "system fallback" case near the end of glyphDataForCharacter().
Just adding U+FFFC to treatAsZeroWidthSpace() OR would make the problem go
away, I think.


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



More information about the webkit-unassigned mailing list