[luatex] Fribidi for LuaTeX

Khaled Hosny khaledhosny at eglug.org
Tue Jul 26 14:10:40 CEST 2011


On Tue, Jul 26, 2011 at 12:14:16PM +0200, Taco Hoekwater wrote:
> On 07/25/2011 05:03 PM, Khaled Hosny wrote:
> >On Mon, Jul 25, 2011 at 09:10:13AM +0200, Taco Hoekwater wrote:
> >>
> >>>   - what is the dir field is used for? I can query it but setting it (to
> >>>     TRT for example) has no effect (the par still left aligned).
> >>
> >>That could be a timing problem in the change, but I need a test file to
> >>debug.
> >
> >Here is a minimal example:
> 
> Ok, I found a bug: current luatex initializes the internal paragraph
> direction specifier too soon. There are two ways to workaround this
> bug: either use 'hyphenate' callback in the example code below, or
> set the 'hyphenate' callback as well (and call tex.linebreak()
> somewhere within). The third option is to compile TRUNK from the
> repository.

Thanks Taco, I'll go with trunk for now, once the code is mature enough
I'll explore other workarounds (if TeXLive 2012 wasn't released by then).

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
 Arab


More information about the luatex mailing list