Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I am trying to subroutinize a large font using MakeOTF and it crashes/errors out with a memory problem, or hangs. What can I do?

0
Posted

I am trying to subroutinize a large font using MakeOTF and it crashes/errors out with a memory problem, or hangs. What can I do?

0

This is usually only a problem with Chinese/Japanese/Korean fonts that have several thousand glyphs. These typically need not only a heap memory allocation of 400 – 700Mbytes of heap for the Python interpreter, but also require a more of an arcane memory allocation called a stack. You will need to adjust the stack, and possibly heap size, allocated to the python interpreter. To do so, you will need the Microsoft COFF binary file editor (a part of Visual C++) called EDITBIN.EXE. Use EDITBIN’s /HEAP and /STACK as needed.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123