[luatex] Fribidi for LuaTeX

Taco Hoekwater taco at elvenkind.com
Tue Jul 26 12:14:16 CEST 2011

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

Best wishes,

More information about the luatex mailing list