Opened 9 years ago

Last modified 8 years ago

#12803 assigned enhancement

Integrate ICU's line-break handling into BTextView

Reported by: richienyhus Owned by: nobody
Priority: normal Milestone: R2
Component: Kits/Interface Kit Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Some laungaues are written without any spaces between words, meaning that the implementation as used in BTextView is not sophisticated enough to handle these languages.

We can inprove BTextView::_FindLineBreak and friends by calling ICU's BreakIterator to handle some of the line breaking and its analysis for complex scripts.

This been brought up before in an unsuccessfull GCI task, which suggested a complete replacement of our line breaking code with that of ICU's implementation.

Change History (3)

comment:1 by richienyhus, 8 years ago

Since line breaking varies between languages, maybe this enhancement would be more appropriately listed under the Locale Kit for its component?

comment:2 by pulkomandy, 8 years ago

No, the code will live in the interface kit.

comment:3 by axeld, 8 years ago

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.