Hi,

Thanks a lot Hans for the new upload!

After updating, I am getting issues with some OFT fonts, e.g. XITS:

❯ mtxrun --script fonts --reload --force | grep XITS
otf reader | fatal error in file
'/home/florent/.local/share/fonts/XITS-Regular.otf':
/home/florent/lmtx/tex/context/base/mkxl/font-dsp.lmt:2035: attempt to
perform arithmetic on a nil value (field 'parameters')
otf reader | fatal error in file
'/home/florent/.local/share/fonts/XITS-Italic.otf':
/home/florent/lmtx/tex/context/base/mkxl/font-dsp.lmt:2035: attempt to
perform arithmetic on a nil value (field 'parameters') ~
otf reader | fatal error in file
'/home/florent/.local/share/fonts/XITS-BoldItalic.otf':
/home/florent/lmtx/tex/context/base/mkxl/font-dsp.lmt:2035: attempt to
perform arithmetic on a nil value (field 'parameters')
otf reader | fatal error in file
'/home/florent/.local/share/fonts/XITS-Bold.otf':
/home/florent/lmtx/tex/context/base/mkxl/font-dsp.lmt:2035: attempt to
perform arithmetic on a nil value (field 'parameters')
otf reader | fatal error in file
'/home/florent/.local/share/fonts/1XITS-Italic.otf':
/home/florent/lmtx/tex/context/base/mkxl/font-dsp.lmt:2035: attempt to
perform arithmetic on a nil value (field 'parameters')

In case that's helpful, the following change to font-dsp.lmt seems to solve
the issue (not sure if it may have unwanted side effects):

2035 - local offset = tableoffset + feature.offset + feature.parameters
2035 + local offset = tableoffset + feature.offset + (feature.parameters or
0)

Cheers,
Florent
___________________________________________________________________________________
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