Hi all, I'm very hesitant to report this because I can't reproduce it consistently: some of my files don't compile with bizarre font errors, sometimes. At first I thought it may be a hardware problem on my laptop, but I've seen more or less the same error on 3 different computers now, intermittently. The offending call is always similar: fonts > otf loading > loading '/mnt/shared/lmtx/tex/texmf/fonts/data/public/dejavu/DejaVuSansMono.ttf', hash 'dejavusansmono' otf reader > fatal error in file '/mnt/shared/lmtx/tex/texmf/fonts/data/public/dejavu/DejaVuSansMono.ttf': ...e0dde776fb1556f32e/formats/luametatex/font-otr-macro.lua:1040: attempt to call a nil value (field 'to16dot16') It concerns several fonts, both my own and (as here) from the installation, and the first error is always this "field 'to16dot16.'" Has anybody else seen this? Do the developers have any idea what this could be? Has there been a change in the code concerning this field? Sorry for being so vague, but I'm pulling my hair because this error crops up totally at random, AFAICS. All best Thomas
Hi all,
I'm very hesitant to report this because I can't reproduce it consistently: some of my files don't compile with bizarre font errors, sometimes. At first I thought it may be a hardware problem on my laptop, but I've seen more or less the same error on 3 different computers now, intermittently. The offending call is always similar:
fonts > otf loading > loading '/mnt/shared/lmtx/tex/texmf/fonts/data/public/dejavu/DejaVuSansMono.ttf', hash 'dejavusansmono' otf reader > fatal error in file '/mnt/shared/lmtx/tex/texmf/fonts/data/public/dejavu/DejaVuSansMono.ttf': ...e0dde776fb1556f32e/formats/luametatex/font-otr-macro.lua:1040: attempt to call a nil value (field 'to16dot16')
It concerns several fonts, both my own and (as here) from the installation, and the first error is always this "field 'to16dot16.'" Has anybody else seen this? Do the developers have any idea what this could be? Has there been a change in the code concerning this field?
Sorry for being so vague, but I'm pulling my hair because this error crops up totally at random, AFAICS.
On 11/23/2022 11:01 PM, Thomas A. Schmitz via ntg-context wrote: probably not that random ... can you put this on top of font-otr.lua local number = number and see if that helps .. if so you can then spend the rest of the evening figuring out where 'number' gets defined global 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 -----------------------------------------------------------------
On 11/23/22 23:25, Hans Hagen via ntg-context wrote:
probably not that random ... can you put this on top of font-otr.lua
local number = number
and see if that helps .. if so you can then spend the rest of the evening figuring out where 'number' gets defined global
Yup, that seems to help! Thank you for the quick fix - I could swear it would pop up randomly, and sometimes not at all. As for the global definition - that will have to wait till tomorrow. I just had to take a painkiller because my back hurts and start feeling very tired... Thanks, as always! Good night everybody Thomas
participants (2)
-
Hans Hagen
-
Thomas A. Schmitz