<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sorry, but this gives me almost nothing to work with.</blockquote>

<div><br>1- in xetex \rightine stands for \rightline and \leftline stands for \leftline in RTL and LTR while in luatex \rightline stands for \leftline and \leftline stands for \rightline in RTL.<br><br>2- In XeTex, if we declare the font, numbers are written in the correct direction but in luatex numbers are written in the wrong direction. (see attached file in this email.)<br>

 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
First, this test file is not *etex*, but *xetex* input. Maybe you meant<br>
that earlier also, but please be more precise about these things, as<br>
etex and xetex  are quite different from eachother.</blockquote><div><br>Right, but still xetex uses etex.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
<br>
Second, the font is not OpenType, it is an AAT font.</blockquote><div><br>XB Zar is open type, it is not AAT. <br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Third, it looks like the output relies on  font- or icu processing.<br>
I can&#39;t explain why the latin words are LR otherwise.<br>
<br></blockquote><div><br><br>Let&#39;s look at at this way,:<br><br>1-\rightline should stand for \rightline and \leftline should stand for \leftline<br><br>2- numbers should be printed in the correct format<br><br> <br>
</div></div><br></div>