[NTG-context] something’s wrong with \definefontfallback

Hans Hagen j.hagen at freedom.nl
Sun Oct 30 16:54:31 CET 2022


On 10/30/2022 4:43 PM, Henning Hraban Ramm via ntg-context wrote:
> This used to work:
> 
> \definefontfallback[seguiFB]
>    [file:seguisym.ttf]
>    [0x00000-0xFFFFF]
>    [check=yes,force=no]
> 
> \definetypeface [contextstart] [ss] [sans]  [segoe] 
> [default][fallbacks=seguiFB]
> 
> (Intention is to take all missing characters from this symbol font.)
> 
> 
> But with current LMTX, I get:
> 
> 
> 
> tex error       > tex error on line 48 in file env_contextstart.tex:
> 
> lua error:
> 
>      registered function call [1145]: 
> ...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:2339: 
> attempt to perform arithmetic on a nil value (field 'depth')
Your example is too minimal so i can't test it. Do you also set those 
fallbacks on a math font (as the error has to do with math fallbacks).

Btw, 0x00000-0xFFFFF is a bit over the top,

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
-----------------------------------------------------------------



More information about the ntg-context mailing list