[haiku-bugs] [Haiku] #12803: Integrate ICU's line-break handling into BTextView

  • From: "richienyhus" <trac@xxxxxxxxxxxx>
  • Date: Fri, 27 May 2016 15:48:33 -0000

#12803: Integrate ICU's line-break handling into BTextView
--------------------------------+---------------------
 Reporter:  richienyhus         |        Owner:  axeld
     Type:  enhancement         |       Status:  new
 Priority:  normal              |    Milestone:  R2
Component:  Kits/Interface Kit  |      Version:
 Keywords:                      |   Blocked By:
 Blocking:                      |  Has a Patch:  0
 Platform:  All                 |
--------------------------------+---------------------
 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
 [http://icu-project.org/apiref/icu4c/classicu_1_1BreakIterator.html
 BreakIterator] to handle some of the line breaking and its
 [http://userguide.icu-project.org/boundaryanalysis analysis] for complex
 scripts.

 This been brought up before in an unsuccessfull GCI [https://www.google-
 melange.com/gci/task/view/google/gci2011/7116226 task], which suggested a
 complete replacement of our line breaking code with that of ICU's
 implementation.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12803>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: