[Webkit-unassigned] [Bug 18039] dx causes non-BMP characters to fail to render

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 18 16:30:43 PST 2011


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





--- Comment #8 from Tim Horton <timothy_horton at apple.com>  2011-11-18 16:30:42 PST ---
(In reply to comment #7)
> (From update of attachment 115904 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=115904&action=review
> 
> > Source/WebCore/rendering/svg/SVGTextLayoutAttributesBuilder.cpp:210
> > +                if (currentCharacter >= 0xD800 && currentCharacter <= 0xDBFF) {
> 
> I'd love to see an isSurrogatePair() function we can use, rather than magic hex values.

Dan just showed me SurrogatePairAwareTextIterator, so I'll make another patch to use that (or, failing that, the U16_IS_SURROGATE/U16_IS_SURROGATE_LEAD macros that already exist (which Font.h doesn't use?)) in a bit.

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