|
From: <lee...@us...> - 2010-11-15 10:41:10
|
Revision: 8802
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8802&view=rev
Author: leejjoon
Date: 2010-11-15 10:40:58 +0000 (Mon, 15 Nov 2010)
Log Message:
-----------
pstoeps skips a line starting with %%PageBoundingBox
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/backends/backend_ps.py
Modified: trunk/matplotlib/lib/matplotlib/backends/backend_ps.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_ps.py 2010-11-15 01:09:27 UTC (rev 8801)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_ps.py 2010-11-15 10:40:58 UTC (rev 8802)
@@ -1559,6 +1559,8 @@
if rcParams['ps.usedistiller'] == 'xpdf':
# remove extraneous "end" operator:
line = tmph.readline()
+ elif line.startswith('%%PageBoundingBox'):
+ pass
else:
epsh.write(line)
line = tmph.readline()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|