Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luaotfload / bidi: direction in some boxes seems to be wrong #12

Closed
u-fischer opened this issue Aug 7, 2018 · 1 comment
Closed

luaotfload / bidi: direction in some boxes seems to be wrong #12

u-fischer opened this issue Aug 7, 2018 · 1 comment

Comments

@u-fischer
Copy link
Owner

@u-fischer u-fischer commented Aug 7, 2018

\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

arabproblem-javier-luaotfload

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

arabproblem-javier-plain

So it looks as if something in the luaotfload wrapper is resetting the textdir in such boxes.

@u-fischer
Copy link
Owner Author

@u-fischer u-fischer commented Aug 7, 2018

fixed with commit f9fb33e

@u-fischer u-fischer closed this Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant