[Pythonmac-SIG] matplotlib and postscript output

John Hunter jdhunter at ace.bsd.uchicago.edu
Fri Sep 9 05:57:54 CEST 2005


>>>>> "Teemu" == Teemu Rinne <Teemu.Rinne at helsinki.fi> writes:

    Teemu> Any help/suggestions would be greatly appreciated.

matplotlib emes it's freetype fonts into the postscript file.  The
fonts it finds are usually platform and per-computer specific.  It
looks to me like the errant platform has some extremely large,
possibly corrupt fonts that are getting dumped into your PS file.

Try running with

> python myscript.py --verbose-debug 

which will print lots of extra debug info including which font files
are used.  My guess is if you move the problematic fonts out of your
font search path the problem will go away.

JDH


More information about the Pythonmac-SIG mailing list