[Webkit-unassigned] [Bug 17427] Line breaking opportunities at the end of a text node are missed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 4 13:03:13 PDT 2012


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





--- Comment #33 from Michael Saboff <msaboff at apple.com>  2012-10-04 13:03:40 PST ---
(In reply to comment #32)
> I want to see this bug fixed and I've written a cross-platform solution, but I don't see a nice clean way to add ICU optimizations. The WebKit architects need to either agree on a messier solution (so that the solution can be coded up) or leave ICU optimization for later.

I think the best way to make a cross-platform solution is to create an API that can be used for both an ICU solution and a non-ICU solution.  Put this definition in a common .h file, like TextBreakIterator.h.  Then put  the corresponding implementation in 2 or more platform specific .cpp files.  This new API will likely need to walk through the nodes and therefore need a list of nodes.

For the ICU version, you create the UText routines that walk through the node list and then you use your implementation for non-ICU platforms.

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