[NTG-context] something’s wrong with \definefontfallback
Henning Hraban Ramm
texml at fiee.net
Sun Oct 30 20:07:11 CET 2022
Am 30.10.22 um 16:54 schrieb Hans Hagen via ntg-context:
> 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).
Ok, find attached a quite minimal example.
Yes, I had the fallback activated for math (since some enumeration
symbols were missing), but I get an error also without math.
> Btw, 0x00000-0xFFFFF is a bit over the top,
Well, if I want to replace all missing characters without thinking too
much which that might be?
Hraban
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fontfallbacktest.tex
Type: application/x-tex
Size: 2038 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20221030/e173b48f/attachment-0001.tex>
More information about the ntg-context
mailing list