Thank you, Hans!
Problem solved.
Greetings
Thomas
Am 22.09.26 um 10:26 schrieb Thomas Meyer:
Hi,
I got similar errors:
fonts > otf loading > loading failed due to read error
fonts > otf loading > loading
'/Users/thomasmeyer/context-osx-64/tex/texmf/fonts/data/public/libertinus/LibertinusMono-Regular.otf',
hash 'libertinusmono-regular'
otf reader > fatal error in file
'/Users/thomasmeyer/context-osx-64/tex/texmf/fonts/data/public/libertinus/LibertinusMono-Regular.otf':
...-64/tex/texmf-context/tex/context/base/mkxl/font-dsp.lmt:2035:
attempt to perform arithmetic on a nil value (field 'parameters')
...
?
Greetings
Thomas
Am 22.09.26 um 09:47 schrieb Florent Michel:
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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________