On Sat, 18 Mar 2023 at 14:14, Andreas Matthias <[email protected]>
wrote:
> Here's a bugfix for setpdforigin():
>
> diff --git a/source/texk/web2c/luatexdir/lua/lpdflib.c
> b/source/texk/web2c/luatexdir/lua/lpdflib.c
> index 70fbde76b..263fd5644 100644
> --- a/source/texk/web2c/luatexdir/lua/lpdflib.c
> +++ b/source/texk/web2c/luatexdir/lua/lpdflib.c
> @@ -1048,7 +1048,7 @@ static int setpdforigin(lua_State * L)
> if (lua_type(L, 1) == LUA_TNUMBER) {
> h = (int) lua_roundnumber(L, 1);
> if (lua_type(L, 2) == LUA_TNUMBER) {
> - v = (int) lua_roundnumber(L, 1);
> + v = (int) lua_roundnumber(L, 2);
> } else {
> v = h;
> }
>
Thank you very much, I will apply asap.