On 10/22/2026 10:29 PM, Wolfgang Schuster wrote:
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

ah, i'll fix it .. a bit too strict testing for valid cache

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to