Open certik opened 1 year ago
Looking at the error:
warning (node filter): error:
...xmf-dist/tex/luatex/luaotfload/fontloader-2022
-06-15.lua:23994: attempt to get length of a nil value (local 'chainlookup')
and at the source code: http://tug.ctan.org/macros/luatex/generic/luaotfload/fontloader-2022-06-15.lua, the error comes from:
if chainlookups then
if size==1 then
local chainlookup=chainlookups[1]
for j=1,#chainlookup do --- line 23994: "attempt to get length of a nil value (local 'chainlookup')"
local chainstep=chainlookup[j]
local chainkind=chainstep.type
local chainproc=chainprocs[chainkind]
if chainproc then
...
So one should insert if chainlookup then
before the for
loop and then put else
and handle the error in a more user friendly way.
If you mean that the problem is in the luaotfoad code and not in the font then you can create an issue at https://github.com/latex3/luaotfload
Thanks, I reported it at https://github.com/latex3/luaotfload/issues/237.
The
Slabikar.otf
works in XeLaTeX and Tectonic, but not in LuaLaTeX:The error seems to be:
So we need to debug it and fix it.