[haiku-bugs] Re: [Haiku] #12802: Integrate ICU's bidirectional text handling into BView

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sat, 28 May 2016 06:10:56 -0000

#12802: Integrate ICU's bidirectional text handling into BView
----------------------------------+----------------------------
   Reporter:  richienyhus         |      Owner:  axeld
       Type:  enhancement         |     Status:  new
   Priority:  normal              |  Milestone:  R2
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:  6950                |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------
Description changed by pulkomandy:

Old description:

We need to support people whose language writes text Right-to-Left, but
who might want to mention/write something in English or another language
that writes text Left-to-Right, therefore creating
[https://en.wikipedia.org/wiki/Bi-directional_text bidirectional text].

As the Locale Kit already uses ICU, we should integrate ICU's [http
://icu-project.org/apiref/icu4c/ubidi_8h.html ubidi] class into BView for
system wide [http://userguide.icu-project.org/transforms/bidi BiDi]  text
support.

This has previously been brought up by Adrian in a
[//www.freelists.org/post/haiku-development/RighttoLeft-text-and-
BiDi,1 past mailing list post].

Ubidi can calculate if a text run (chuck of text to be rendered) is Left-
to-Right; Right-to-Left; 'Direction Mixed' or 'Direction Neutral' (i.e.
an emoji).

New description:

 We need to support people whose language writes text Right-to-Left, but
 who might want to mention/write something in English or another language
 that writes text Left-to-Right, therefore creating
 [https://en.wikipedia.org/wiki/Bi-directional_text bidirectional text].

 As the Locale Kit already uses ICU, we should integrate ICU's [http://icu-
 project.org/apiref/icu4c/ubidi_8h.html ubidi] class into BView for system
 wide [http://userguide.icu-project.org/transforms/bidi BiDi]  text
 support.

 This has previously been brought up by Adrien in a
 [//www.freelists.org/post/haiku-development/RighttoLeft-text-and-
 BiDi,1 past mailing list post].

 Ubidi can calculate if a text run (chuck of text to be rendered) is Left-
 to-Right; Right-to-Left; 'Direction Mixed' or 'Direction Neutral' (i.e. an
 emoji).

--

--
Ticket URL: <https://dev.haiku-os.org/ticket/12802#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: