From e4ec953af6b70636189442b6897a22d91ff652be Mon Sep 17 00:00:00 2001 From: Stefan Blumentrath Date: Wed, 29 Dec 2021 23:03:47 +0100 Subject: [PATCH] remove .setpdfwrite option on MS Windows (#1962) * remove setpdfwrite option * setvmthreshold to 30mb --- gui/wxpython/psmap/frame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/wxpython/psmap/frame.py b/gui/wxpython/psmap/frame.py index 5403a652da6..f0be8ddd9b9 100644 --- a/gui/wxpython/psmap/frame.py +++ b/gui/wxpython/psmap/frame.py @@ -404,8 +404,8 @@ def OnCmdDone(self, event): '-sOutputFile=%s' % event.userData['pdfname'], '-P-', '-dSAFER', '-dCompatibilityLevel=1.4', - '-c', '.setpdfwrite', '-f', - event.userData['filename']] + '-c', '30000000', 'setvmthreshold', + '-f', event.userData['filename']] else: command = [ 'ps2pdf',