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

Khaled Hosny khaledhosny at eglug.org
Fri Jun 13 23:52:27 CEST 2008


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.

Regards,
 Khaled

> 
> no high level interface yet, i need to think of how to do such things as 
> efficient as possible and prevent interference with font features and 
> such (currently it's an attribute handler that pops in quite early)
> 
> 
> -- 
> 
> -----------------------------------------------------------------
>                                            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
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mirroring.tex
Type: text/x-tex
Size: 1281 bytes
Desc: not available
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20080614/bae136fb/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mirroring.pdf
Type: application/pdf
Size: 19796 bytes
Desc: not available
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20080614/bae136fb/attachment-0001.pdf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20080614/bae136fb/attachment-0003.bin 


More information about the ntg-context mailing list