This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Asymptote with option '-tex lualatex' makes an unexpected shift
- From: Lemures Lemniscati <lemures dot lemniscati at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 22 Nov 2019 21:24:20 +0900
- Subject: Asymptote with option '-tex lualatex' makes an unexpected shift
Hi! And thank you for maintaining many packages!
I've experienced a situation:
Asymptote with option '-tex lualatex' makes an unexpected shift.
(I've installed all the texlive packages by setup*.exe.)
I opened an issue on its main stream https://github.com/vectorgraphics/asymptote/issues/123
But No one seems to reproduce it.
I don't know whether it is an issue only on cygwin or not.
Does anyone have a good idea?
====
Asymptote 2.49 with LuaLaTeX 1.10 as engine on Cygwin makes an unexpected shift.
Is it an issue on Asymptote or on LuaLaTeX?
A test file a.asy:
--------
real s=30;
draw(scale(s)*unitsquare,defaultpen+.5mm);
label("\TeX",scale(s)*(.5,.5));
--------
Compiling as follows results in default.pdf and lualatex.pdf.
--------
asy -f pdf -o default a
asy -f pdf -o lualatex -tex lualatex a
--------
And, default.pdf has no problem, but lualatex.pdf has unexpected shift.
Expected result is
https://github.com/vectorgraphics/asymptote/files/3858069/lualatex.pdf
But what I've got is
https://github.com/vectorgraphics/asymptote/files/3858024/lualatex.pdf
====
I've found that disabling otfload-main.lua (e.g. by renaming it) makes an expected result.
But I don't know why this is effective.
And I really need otfload-main.lua for other purposes.
Please, help me.
--
Lem