Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 806079e

Browse files
committed
fixed bug 1712099
svn path=/trunk/matplotlib/; revision=3477
1 parent aa60d8a commit 806079e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
2006-06-30 Applied patches to tkagg, gtk, and wx backends to reduce
1+
2007-07-07 fixed bug 1712099: xpdf distiller on windows - DSD
2+
3+
2007-06-30 Applied patches to tkagg, gtk, and wx backends to reduce
24
memory leakage. Patches supplied by Mike Droettboom;
35
see tracker numbers 1745400, 1745406, 1745408.
46
Also made unit/memleak_gui.py more flexible with

lib/matplotlib/backends/backend_ps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,7 @@ def xpdf_distill(tmpfile, eps=False, ptype='letter', bbox=None):
13891389
command = 'ps2pdf -dAutoFilterColorImages=false \
13901390
-sColorImageFilter=FlateEncode -sPAPERSIZE=%s "%s" "%s" > "%s"'% \
13911391
(ptype, tmpfile, pdffile, outfile)
1392+
if sys.platform == 'win32': command = command.replace('=', '#')
13921393
verbose.report(command, 'debug')
13931394
exit_status = os.system(command)
13941395
fh = file(outfile)

0 commit comments

Comments
 (0)