20 Nov
2009
20 Nov
'09
11 a.m.
Taco Hoekwater wrote:
Thomas A. Schmitz wrote:
Hi Hans, all,
the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box:
mtxrun --script fonts --list --pattern="*gentium*" ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil)
Any pointers?
I changed that line to:
if not data or not next(data) or not next(data.specifications) then
and now it works again.
otoh: it now always returns only one font