[luatex] bug in RTL typesetting?

Khaled Hosny khaledhosny at eglug.org
Sun Mar 29 14:16:48 CEST 2009


On Sun, Mar 29, 2009 at 01:45:12PM +0200, Hans Hagen wrote:
> وفا خلیقی wrote:
>> In the latest version of luatex, namely snapshot-0.36.0-2009032321, when I
>> create the table of contents in RTL, the dots that appear in between
>> subsection name and the page number for example goes to the wrong
>> direction.( see attached file). I had no issues with this in the previous
>> version of luatex.
>>
>> So is this a bug in luatex or I should write some macro to fix this.
>
> could be a side effect of all dir stuff being made consistent in the  
> front and backend
>
> in this case it's \pagedir
>
> \pagedir TRT \pardir TRT \textdir TRT
>
> \hbox to \hsize{l\leaders\hbox{.}\hfill r}
>
> \hbox to \hsize{lr}
>
> for taco/hartmut: i have a different testcase
>
> in any case, i think that it's dangerous to assume that \pagedir is safe  
> with respect to the output routines used

I'm not sure if its the same issue, but Vafa's example gives the
expected output in DVI mode, unlike your test which is broken in both
DVI and PDF.

Regards,
 Khaled


-- 
 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/20090329/89eb9cb2/attachment.bin 


More information about the luatex mailing list