|
From: Yoshi R. <yo...@ro...> - 2013-06-11 16:43:54
|
Am Fri, 7 Jun 2013 22:15:31 +0200 schrieb Yoshi Rokuko <yo...@ro...>: > Fr, 7 Jun 2013 10:13:26 -0400 Michael Droettboom <md...@st...>: > > > Have you tried setting ps.usedistiller to False, or xpdf? There > > have been problems using Ghostscript as a distiller with recent > > versions of Ghostscript. > > No, I didn't try. Thanks for the hint, I will test that. > > > We'll need a minimal example, or at least a copy of the PS file to > > investigate this further, however. Also, what platform, version of > > matplotlib and Python are you using? > > If I keep everything on my system linux with python 2.7.5 and > matplotlib 1.2.1 it works fine. Problems arise if I move the EPS to > an older system or the printing. I will have access to these > machines on Tue. I will try to create a minimal example then. OK, I created a more simple example that fails. It is attached as draw.py and the output produced by the printer is attached as a scan. Using ps.distiller == False doesn't change the output but setting it to 'xpdf' does. The latter is also printable. Everything including the EPS outputs is compressed in [1]. This archive includes also a file test-opt.eps that was generated with eps2eps from the original EPS without any ps.usedistiller options. This optimized EPS by eps2eps can be printed too. Although sometimes bboxes get destroyed by this. Do you need further information in order to investigate this issue? Thank you and best regards, Yoshi Rokuko [1] http://rokuko.net/matplotlib-eps.tar.bz2 (23M) |