[NTG-context] Luatex (actually Aleph) and Bidi_Mirrored chars in RTL mode

Hans Hagen pragma at wxs.nl
Sun Jun 15 22:36:18 CEST 2008

Khaled Hosny wrote:
> On Mon, Jun 09, 2008 at 11:08:09PM +0200, Hans Hagen wrote:
>> Khaled Hosny wrote:
>>> Luatex does not mirror characters that has a Bidi_Mirrored property when
>>> the text direction is set to RTL (TRT in Aleph), according to 
>>> http://unicode.org/reports/tr9/#Mirroring, the different types of
>>> parenthesis that has Bidi_Mirrored property should be mirreored in RTL
>>> mode, but this isn't what I get. Is this a bug, feature, or am I missing
>>> some thing?
>> experimental in the beta
>> \setcharactermirroring[1]
> It does work perfectly with unidirectional texts (RTL or LTR), but when
> mixing bi-directional text, like Arabic text between brackets inside
> English line, the closing bracket takes the direction of the embedded
> text not the main line.
> See the attached example.

i need to figure out what the subtypes are of the direction nodes

i suggest that you and idris cook up a set of test files that can serve 
as benchmark, preferably something organized (arabtest-whatever) and 
such; eventually these can go into the regression test machinery


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl

More information about the ntg-context mailing list