Hi Stefan, On Monday 23 October 2006 11:17, Stefan van der Walt wrote: > I am trying to generate graphs using > > text.usetex : True > ps.usedistiller : xpdf > > Unfortunately, when running > > import pylab as P > P.plot([10],[10]) > P.savefig('test.eps') > > I get an error message: > > File > "/home/stefan//lib/python2.4/site-packages/matplotlib/backends/backend_ps.p >y", line 1412, in get_bbox raise RuntimeError('Ghostscript was not able to > extract a bounding box.\ RuntimeError: Ghostscript was not able to extract > a bounding box.Here is the Ghostscript output: > > ESP Ghostscript 815.02: Unrecoverable error, exit code 1 > > When I run with --verbose-debug-annoying I see > > pdftops -paper match -level2 "/tmp/098f6bcd4621d373cade4e832627b4f6.pdf" > "/tmp/098f6bcd4621d373cade4e832627b4f6.ps" > > "/tmp/098f6bcd4621d373cade4e832627b4f6.output" > > gs -dBATCH -dNOPAUSE -sDEVICE=bbox "/tmp/098f6bcd4621d373cade4e832627b4f6" > ESP Ghostscript 815.02 (2006-04-19) > Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved. > This software comes with NO WARRANTY: see the file PUBLIC for details. > ERROR: /undefined in pdfLastFill > > I am running gs v8.15.2, pdftops v3.00, dvipng v1.5 and xpdf v3.01. Are > these versions known to be incompatible, or is there possible a > problem with the output generated by matplotlib? > > With > > ps.usedistiller : ghostscript > > everything runs smoothly, but the text looks pretty dismal. > > I would appreciate any advice on how to get this running!
I can't reproduce the problem here, using xpdf 3.01 (although xpdf -v returns 3.00), pdftops 3.00, gpl ghostscript 8.54 and latex 3.141592-1.30.5-2.2 (tetex 3.0 p1). ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users