Skip to main content
Participating Frequently
Jul 8, 2004 11:56 AM UTC
Question

Catch compile info from imported MakeOTF module

When executing MakeOTF from the command line, it sends basic compile info to stdout. Is it possible to catch the same info when using the MakeOTF module from within a script as an imported module? I can't find anything about this in the docs and nothing seems to be returned as far as I can see.

/mårten
This topic is closed to new replies. Start a new post to keep the conversation going.

6 replies

Inspiring
Jul 16, 2004 5:56 AM UTC
Read, what are you doing here? You're supposed to be on vacation! :)

T
Translate
Participating Frequently
Jul 15, 2004 1:18 PM UTC
Thanks for your help Read.

/mårten
Translate
Inspiring
Jul 14, 2004 8:35 AM UTC
The makeotf library actually dumps to a temporary text file. MakeOTF.py then opens this and copies it to stdout. Look in MakeOTF.py just after the makeotf library is called, and you will see this, I think that the temp dump file name is set by one of the arguments to the makeotf library call, but am on vacation and check in the source code.
Translate
Inspiring
Jul 13, 2004 6:46 PM UTC
Read Roberts would be the best one to answer this question, but he is on sabbatical right now. When he returns in a couple of weeks, I'm sure he will try to address this.

Sorry for the delay.

T
Translate
Participating Frequently
Jul 9, 2004 5:45 AM UTC
I use MakeOTF in a build process that does a lot of other things as well in one run. An alternative is of course to make command line executions from within this process for each font in the build project, but that is not as smooth as using the module loaded in the build script.

/mårten
Translate
Known Participant
Jul 8, 2004 12:41 PM UTC
I know this doesn't answer, but why dont you use the python grphical interface??

Jordi
Translate