It is necessary to set before running MTPK and PKFONTS set EMXOPT=-p otherwise the message `Not enough memory' is given when gftopk.exe is run after mf.exe has been finished (see documentation of spawn() for this phenomenon).