<div dir="ltr">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 one)<br>
<br>But \rightline in xetex is in the correct side but in luatex it is in the wrong direction.<br>
</div>