[luatex] reading font.fonts[] gives an error

Hironori KITAGAWA h_kitagawa2001 at yahoo.co.jp
Sat May 11 16:27:08 CEST 2013


LuaTeX in TeX Live 2013 pretest (x86_64-linux)
with the following source
\input luaotfload.sty
\font\jx=file:KozMinPr6N-Regular.otf:+palt \jx 
\directlua{local t = font.fonts[font.current()]}%
gives a strange error:
  > error: ...3/texmf-dist/tex/luatex/luaotfload/luaotfload-merged.lua:7493: 
  > attempt to perform arithmetic on local 'factor' (a nil value)
(The complete log is attached to this mail.)

Of course, this error disappeared if the line 5 is commented out.
I think that the line 5 does nothing harmful...

Hironori KITAGAWA <h_kitagawa2001 at yahoo.co.jp>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: factor-nil.log
URL: <http://tug.org/pipermail/luatex/attachments/20130511/aca3af47/attachment.ksh>

More information about the luatex mailing list