Am 22.10.2026 um 21:59 schrieb Pablo Rodriguez via ntg-context:
Dear list,
the following sample:
\definefontfamily[pagella][rm][TeX Gyre Pagella][scale=1]
\setupbodyfont[pagella]
\starttext
a
\stoptext
gives the following error with current latest (2026.10.22 11:32) and
LMTX (MkIV compiles it fine):
registered function call [1388]: ...font-syn.lua:2082: attempt to
index a nil value (local 'data')
stack traceback:
...font-syn.lua:2082: in field 'lookup'
...font-syn.lua:2134: in upvalue 'getlookups'
...font-sel.lua:404: in field '?'
...font-sel.lua:482: in field 'registerfiles'
...font-sel.lua:520: in upvalue 'action1'
[string "local function scan1()..."]:55: in function <[string "local
function scan1()..."]:42>
Am I missing something here or have I hit a bug?
The font database is broken.
$ mtxrun --script font --reload
fonts | names | unable to access database cache
fonts | names | accessing the data table failed
The following example should result in a large listing with all
information in the database but it only shows "nil" with LMTX.
\starttext
\startluacode
fonts.names.load(true)
inspect(fonts.names.data) -- reports nil
\stopluacode
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________