On 2/2/2026 3:05 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
mandatory sample of OTF variable font:
\usemodule[fonts-variable]
\starttext
\showfontvariations[font=Cantarell-VF.otf]
\stoptext
It compiles fine with LuaTeX and current latest (2026.01.08 23:30), but
it breaks with LMTX and current latest.
Error message starts with:
otf reader > fatal error in file 'Cantarell-VF.otf':
font-cff.lmt:1956: attempt to perform arithmetic on a nil value (field '?')
It seems to break with any OTF (not TTF) variable font.
only cff2 .. probably an issue introced a few uploads ago
patch font-cff.lmt 2980:
local function readlocals(f,data,dictionary,version)
-----------------------------------------------------------------
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
___________________________________________________________________________________