eps export shows more lines than svg

Post questions on how to use or achieve an effect in Inkscape.
hupi
Posts: 1
Joined: Wed Sep 04, 2013 5:12 am

eps export shows more lines than svg

Postby hupi » Wed Sep 04, 2013 5:34 am

Hello,

if I export a polyline that has the contour of an U, it looks like a rectangle in the exported EPS. Can you give me a hint where this additional line comes from?


regards,
Steffen
Attachments
testfile.svg
(1.95 KiB) Downloaded 158 times

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: eps export shows more lines than svg

Postby ~suv » Wed Sep 04, 2013 7:28 am

hupi wrote:if I export a polyline that has the contour of an U, it looks like a rectangle in the exported EPS. Can you give me a hint where this additional line comes from?

This is a known bug in older versions of an external graphics library Inkscape uses for PS/EPS/PDF export (cairo), tracked for Inkscape here:

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: eps export shows more lines than svg

Postby ~suv » Wed Sep 04, 2013 7:50 am

Known workarounds (until a newer cairo version is available for Inkscape on your OS/platform):
  • for individual 'U'-shaped paths: using the node tool, break the path at one of the corners (AFAICT it's sufficient to break the path at one node, without splitting the sub-paths into individual objects)
  • for many 'U'-shaped objects within a drawing, select all with same style attributes (e.g. stroke color and width), and combine them into a single path (menu 'Path > Combine') before exporting to PDF/PS/EPS.
  • if none of the above works for whatever reason, you could also consider converting the stroke to path (but this changes the structure of the vector data more than breaking or combining paths into compound objects).
  • (…)


Return to “Help with using Inkscape”