Opened 3 years ago

Last modified 2 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:
Has a Patch: no 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 Changed 3 years ago by richienyhus

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

comment:2 Changed 3 years ago by pulkomandy

No, the code will live in the interface kit.

comment:3 Changed 2 years ago by axeld

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