Bug 117320 - TextBreakIteratorWchar.cpp should support line breaks with Asian characters
Summary: TextBreakIteratorWchar.cpp should support line breaks with Asian characters
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2013-06-06 14:24 PDT by Mark Salisbury
Modified: 2013-06-13 14:26 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Mark Salisbury 2013-06-06 14:24:58 PDT
Non-ICU unicode support (Wchar) does not have a line breaking implementation beyond simply testing "category(c) != Separator_Line".  This causes Asian text to not wrap correctly.  Also, it should take into account prior context when breaking lines (see https://bugs.webkit.org/show_bug.cgi?id=105692#c52).
Comment 1 Mark Salisbury 2013-06-13 14:26:18 PDT
Wchar unicode has bigger problems: it doesn't have basic unicode support, including support for determining the category for a specified category.  Without addressing that there's no good way to fix this issue.

I sent a message to webkit-dev a few days ago raising the possibility of embedding limited parts of ICU in order to provide a much lighter weight but functional unicode implementation.

Not much response - just one "I'm interested in this too, any updates?".