[luatex] bug in RTL typesetting?

Khaled Hosny khaledhosny at eglug.org
Mon Mar 30 02:53:48 CEST 2009

On Mon, Mar 30, 2009 at 02:41:50AM +0200, Khaled Hosny wrote:
> On Mon, Mar 30, 2009 at 02:09:50AM +0200, Khaled Hosny wrote:
> > On Mon, Mar 30, 2009 at 12:24:44AM +0200, Hartmut Henkel wrote:
> > > On Sun, 29 Mar 2009, Khaled Hosny wrote:
> > > nice example! However i don't know what to do in the TLB case. Currently
> > > the glyphs hang down from the text baseline (as shown in the example),
> > > but maybe in TLB mode also the glyph baselines should be aligned with
> > > the text baseline. Any idea what's right?
> > 
> > I didn't think in it before, I don't know where TLB would be used. Now,
> > I can think it is used in Indic scripts (in which the glyphs usually
> > hang from the base line), then TRT for Arabic would be the logical
> > choice, imagine Devanagari mixed with Arabic. TRB wouldn't make any
> > sense for Arabic since it will break the way glyphs are connected
> > together, unless the glyphs are rotated 180 degrees which would be very
> > funny but almost useless.
> I see now, I should have checked it first, sorry. I think in TLB the base
> line should be raised to get better matching with, say, Arabic or Latin
> script. [1] shows a nice summery of different baselines.

Replying to myself again :) this a poor attempt to imitate this:

English text \raise\the\ht0\hbox dir TLB{Devanagari text} English again.

I don't read any Indic language myself, so all this may be nonsense :)


 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://tug.org/pipermail/luatex/attachments/20090330/af893291/attachment.bin 

More information about the luatex mailing list