Bug 117320

Summary: TextBreakIteratorWchar.cpp should support line breaks with Asian characters
Product: WebKit Reporter: Mark Salisbury <mark.salisbury>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: glenn, syoichi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Mark Salisbury
Reported 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).
Attachments
Mark Salisbury
Comment 1 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?".
Note You need to log in before you can comment on or make changes to this bug.