[luatex] Vital RTL issues in LuaTeX
khaledhosny at eglug.org
Fri Apr 10 13:16:16 CEST 2009
On Fri, Apr 10, 2009 at 09:14:56AM +0200, Taco Hoekwater wrote:
> وفا خلیقی wrote:
>> This is a test file compiled in XeTeX. Let me say that if I do not use a
>> font in this test file in XeTeX, the number (21=twenty one) is printed
>> (12=twelve), but if I use a font, then this is done correctly as attached
>> pdf output while in LuaTeX if you declare a font or you dont, in both cases
>> you get the number in the wrong direction (get 12=twelve instead 21=twenty
> Sorry, but this gives me almost nothing to work with.
> First, this test file is not *etex*, but *xetex* input. Maybe you meant
> that earlier also, but please be more precise about these things, as
> etex and xetex are quite different from eachother.
> Second, the font is not OpenType, it is an AAT font.
> Third, it looks like the output relies on font- or icu processing.
> I can't explain why the latin words are LR otherwise.
Basically, in XeTeX, individual words are processed by ICU which applies
bidi algorithm on it, but the whole line is controlled by TeX, that why
latin and numbers are always LR.
Arabic localiser and member of Arabeyes.org team
Free font developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Digital signature
Url : http://tug.org/pipermail/luatex/attachments/20090410/0ed84db0/attachment.bin
More information about the luatex