Comment 6 for bug 649842

Revision history for this message
su_v (suv-lp) wrote :

You can test you proposed change by copying 'ps2pdf-ext.py' from the shared extensions directory ('/usr/share/inkscape/extensions') into '~/.config/inkscape/extensions' and changing the line calling the ps2pdf command accordingly:

- run('ps2pdf "%s" "%%s"' % sys.argv[1].replace("%","%%"), "ps2pdf")
+ run('ps2pdf -dEPSCrop "%s" "%%s"' % sys.argv[1].replace("%","%%"), "ps2pdf")

The script file in the user extensions directory will be called instead of the shared one and the modified ps2pdf command applied to all EPS files imported/opened in Inkscape.