[tex-k] Re: [NTG-context] Font memory issues ?

Taco Hoekwater taco at elvenkind.com
Thu Jan 19 23:37:26 CET 2006

Hans Hagen wrote:
> Taco Hoekwater wrote:
>> Oh, d**mn.
>> I just had a brainwave.
>> From Web2c's tex.ch comes the following:
>>   @!inf_font_mem_size = 20000;
>>   @!sup_font_mem_size = 2000000;
>> So font_memory cannot be set larger than 2000000 and not smaller
>> than 20000. Out-of-bounds sizes are silently folded back in line,
>> but that happens after the variable expansion is complete. That's
>> why the debug switch still reports the values from texmf.cnf.
>> So the actual problem here is the web2c runtime code inside TeX.
>> You can recompile with a larger sup_font_mem_size, I guess. But
>> otherwise you are out of luck.
> so, is it possible to increase the upper limit in the code? 

I guess so. I don't see any special reason for 2mln upper limit.
font mem pointers are integers with rather straightforward usage,

(CC to the tex-k list)

Cheers, taco

More information about the tex-k mailing list