\input luaotfload.sty
\def\artext{الإشارات برهن بتاريخ كان مخطئًا}
\font\test="FreeSerif:mode=node;script=arab;+init;+medi;+fina;+rlig;language=DFLT;+tlig;"
\test \pardir TRT \pagedir TRT \bodydir TRT \mathdir TRT
\hbox{\textdir TRT \artext}
\hbox{\artext}
\bye
compiled with CHANGED luaotfload-init 2018-07-31 and fontloader-reference-2018-07-27.lua.
A similar example compiled with a luatex-plain format in a context minimals doesn't show this problem:
\def\artext{الإشارات برهن بتاريخ كان مخطئًا}
\font\test="FreeSerif:mode=node;script=arab;+init;+medi;+fina;+rlig;language=DFLT;+tlig;"
\test \pardir TRT \pagedir TRT \bodydir TRT \mathdir TRT
\hbox{\textdir TRT \artext}
\hbox{\artext}
\bye
So it looks as if something in the luaotfload wrapper is resetting the textdir in such boxes.
The text was updated successfully, but these errors were encountered:
compiled with
CHANGED luaotfload-init 2018-07-31andfontloader-reference-2018-07-27.lua.A similar example compiled with a luatex-plain format in a context minimals doesn't show this problem:
So it looks as if something in the luaotfload wrapper is resetting the textdir in such boxes.
The text was updated successfully, but these errors were encountered: