This is a known bug in ESP Ghostscript, not matplotlib. ESP version 8.15.02 
broke xpdf's pdftops program. I posted a bug report to the ESP website, and 
it has been fixed in their sources, but they havent made a new release since 
that time. Your options are either to drop back to ESP version 7.07 or use 
gpl or afpl ghostscript.

Darren


On Monday 10 July 2006 08:58, Pieter Dumon wrote:
> Sorry, forgot the actual PS file, which contains the actual error. Here it
> is
>
> On 7/10/06, Pieter Dumon <[EMAIL PROTECTED]> wrote:
> > On 7/10/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > Pieter Dumon wrote:
> > > > For example, this fails for me (it does work without xpdf and doing
> > > > ps2pdf afterwards):
> > > >
> > > > import matplotlib
> > > > matplotlib.use('PS')
> > > > import pylab
> > > >
> > > > pylab.rc('text',usetex=True)
> > > > pylab.rc('ps',usedistiller='xpdf')
> > > > pylab.figure()
> > > > pylab.plot((1,2,3),(4,5,6))
> > > > pylab.savefig("test")
> > > > pylab.show()
> > > >
> > > > When setting ps.usedistiller to xpdf, I get an empty (blank) ps
> > > > image. Without xpdf, I get a proper ps. This did work with
> > > > 0.87-2/numpy-0.9.6 (The Pdf backend works, but not with mathttext.)
> > >
> > > Please set your verbose level to debug-annoying in your rc settings and
> > > post the output. Also post your platform info, along with version info
> > > for xpdf, and ghostscript. I havent had any problems with xpdf.
> >
> > The debug output is in attachment. I don't see any errors, except for
> > the latex warning (but the problem is the same without usetex=True,
> > apparently)
> >
> > ESP Ghostscript 815.02 (2006-04-19)
> > xpdf version 3.01
> > poppler-0.5.3
> >
> > System is a quite standard Gentoo Linux (x86), but with gcc-4.1.1
> > 2.6.16-gentoo-r9 #1 PREEMPT Tue Jun 6 10:38:13 CEST 2006 i686 Mobile
> > Intel(R) Pentium(R) 4 - M CPU 2.00GHz GNU/Linux
> >
> > Pieter

-- 
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853

[EMAIL PROTECTED]
office: (607) 255-9894
fax: (607) 255-9001


-------------------------------------------------------------------------
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

Reply via email to