[haiku-3rdparty-dev] Re: Word Processor

  • From: Richie Nyhus-Smith <richienyhus@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Fri, 27 May 2016 22:44:14 +1200

The right to left oriented drawing could be a challenge,
as the haikudpotview its not prepared for this (as far as i
understand it)... hmm so i guess we need in the render code
also more abstraction...

ICU's ubidi needs to be integrated into BView for system wide BiDi support,
or at least that is what Adrian has said in a past mailing list post [1].

We could also borrow a few ideas for TextView from ICU's ParagraphLayout
[2], which includes: complex script detection [3], Right-to-Left detection
[4], ligature assistance and advanced line breaking.

In fact, there has also been a few unsuccessful Google Code-In tasks
historically for ICU, such as a task to convert the line breaking in
BTextView to use ICU's implementation instead. [5][6][7]

Regards,
Richard.

[1]
//www.freelists.org/post/haiku-development/RighttoLeft-text-and-BiDi,1
[2] http://icu-project.org/apiref/icu4c/classicu_1_1ParagraphLayout.html
[3] https://en.wikipedia.org/wiki/Complex_text_layout
[4] http://icu-project.org/apiref/icu4c/ubidi_8h.html
[5] https://www.google-melange.com/gci/task/view/google/gci2011/7116226
[6] https://www.google-melange.com/gci/task/view/google/gci2012/7986202
[7] http://icu-project.org/apiref/icu4c/classicu_1_1BreakIterator.html

Other related posts: