Skip to content

Commit

Permalink
remove .setpdfwrite option on MS Windows (#1962)
Browse files Browse the repository at this point in the history
* remove setpdfwrite option
* setvmthreshold to 30mb
  • Loading branch information
ninsbl committed Dec 29, 2021
1 parent eeed0e8 commit e4ec953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/wxpython/psmap/frame.py
Expand Up @@ -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',
Expand Down

0 comments on commit e4ec953

Please sign in to comment.