Hi,

I just committed a simple change that disables pstoeps in ps backend
when "xpdf" distiller is used. Without this, output bbox was incorrect
with "xpdf" distiller and usetex=False.

Getting the correct bbox with the ps backend is very tricky, and it'll
be appreciated if others help me test this.

Here is a simple test script (this needs to be run with most recent
svn version of matplotlib, and you need to able to use ustex=True!).
It will produce 6 eps files. Please check if any of the eps files have
incorrect bbox. And report which file has wrong bbox and your setup :
your OS, gs version number (output from "gs -v"), pdftops version
number (output from "pdftops -v"). It will be also good if you report
your setup even when everything is okay.

Regards,

-JJ

import matplotlib.pyplot as plt

plt.plot([1,2])

for distiller in ["False", "xpdf", "ghostscript"]:
    for usetex in ["True", "False"]:
        plt.rcParams["ps.usedistiller"]=distiller
        plt.rcParams["text.usetex"]=usetex

        plt.savefig("test_bbox_%s_%s.eps" % (distiller, usetex))

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to