[Webkit-unassigned] [Bug 108881] Canvas fillText and measureText handle ideographic spaces differently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 7 02:21:53 PDT 2013


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





--- Comment #4 from Martin Robinson <mrobinson at webkit.org>  2013-08-07 02:21:32 PST ---
(In reply to comment #3)

> The function shouldSpaceBeReplaced() which I have defined in StringImpl.h, supports the text preparation algorithm defined in the spec. This text preparation algorithms could be used by other html elements as well, right? With the above idea in mind, I defined this function here. Do you think that this should be moved to CanvasRenderingContext2D?

Yes. I also think you should write it in terms of the existing isSpaceOrNewline which handles most cases.

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