Comment 19 for bug 649842

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

Bug #431290 is not an issue here if the argument is added to the command string inside the python script. I have been using several different import extensions for EPS and PS imports now for several months (with -sPapersize=A0, -dEPSFitpage and -dEPSCrop arguments), testing with files from the bug tracker, mostly. (All installed as user extensions, with different <id> and <filetypename>, alongside the original version).

Ideally we would add the additional dialog and offer similar options as when importing EPS into GIMP [1], parsing the EPS file in the python script or using ghostscript commands to query bbox, page size... and thus offering several options that can be decided before the conversion to PDF is done.

OTOH it might be worthwhile adding the '-dEPSCrop' option for EPS files as default for now, allowing a greater number of EPS files getting imported into Inkscape without cropping (or clipping) parts of the original.

[1] <https://bugs.launchpad.net/inkscape/+bug/190424/comments/25>
    <https://bugs.launchpad.net/inkscape/+bug/190424/+attachment/1115744/+files/190424-test-ss-GIMP-v2.6.8-import-dialog-osx.png>