inkscape import/open eps clips drawings larger than sheet width

Bug #264044 reported by gurkesaft
This bug report is a duplicate of:  Bug #649842: import from EPS ignores bounding box. Edit Remove
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

To reproduce,

-make a drawing with a width larger than the standard (I made mine in "portrait" page setup and filled the width of it)

-export as eps (making sure to keep "convert text to paths" checked or it will crash (I have reported this (btw it's parenthesis day (today!))))

-make a new file and import this eps or try to re-open the eps file.

For me (on windows XP) this causes some rectangles to be resized, some things to be clipped by the "ordinary" page width, some lines are not clipped... Basically, everything looks beautiful until you get to some pre-defined width (that corresponds to the standard page width) and then mayhem. My exported eps files look great in gsview.

Cheers!

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

reproduced with Inkscape 0.46+devel r22547 on OS X 10.5.8

tested with SVG file from bug #466479 <http://launchpadlibrarian.net/34842440/JRC_051_Relay.svg> (custom landscape page format)

SVG exported as EPS (tests with all variations of export area options gave the same results) displays with correct bbox, page orientation and page size in gs 8.70 and gv 3.6.7 but is cropped to US Letter (portrait) page format after import to Inkscape.

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

… the EPS file imported in Inkscape 0.46+devel r22547 and saved as Inkscape SVG.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

Addendum: this happens with only with EPS/PS files. Doing the same export/import cycle with PDF (SVG->PDF->SVG) retains page format, orientation and all drawing elements in every step.

su_v (suv-lp)
tags: added: import-export
su_v (suv-lp)
summary: - inkscape19770 import/open eps clips drawings larger than sheet width
+ inkscape import/open eps clips drawings larger than sheet width
Revision history for this message
Ricardo Graça (devius) wrote :

I'm also experiencing this with Inkscape 0.47-9.1 on opensuse 11.2 x86_64. It's pretty annoying since many freely available vectors are distributed in EPS format and some can't be used in Inkscape due to this bug.

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

See also bug #471199 “Importing EPS Clips Image” <https://bugs.launchpad.net/inkscape/+bug/471199> for known workarounds.

Revision history for this message
Praetor77 (geramses) wrote :

I just wanted to comment that changing:

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

in /usr/share/inkscape/extensions/ps2pdf-ext.py

fixed this EXTREMELY annoying bug for me. I experienced the inadequate import of eps files in both 0.47 and 0.48+devel r8974.

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

The proposed solution from Bug #649842 in Inkscape: “import from EPS ignores bounding box” also works with the sample file attached in comment #1: the complete content of the EPS file is imported without any cropping or clipping.

'-dEPSCrop' instead of '-dEPSFitpage' keeps the original size of the EPS file instead of resizing it to fit on the default papersize (US Letter Portrait).

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

Linking as duplicate to bug #649842 (fixed in r9819, backported for 0.48.1).

Please add a comment here and revert the duplicate status if you don't agree and think these are different issues.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.