Incomplete import of emf file

Bug #1607805 reported by aditsu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

I'm trying to import an emf file that was created with another program (called 2D Design). It is a drawing of a car inside a circle. When I import it in Inkscape, I can see the circle but the car is missing.
The file looks fine in other programs (such as Windows Paint). Other emf files are also working better in Inkscape.

Tags: emf importing
Revision history for this message
aditsu (aditsu) wrote :
Revision history for this message
aditsu (aditsu) wrote :
Revision history for this message
aditsu (aditsu) wrote :

Note: I tried to export the same drawing into a few other vector formats, such as dxf, plt and wmf, and then import it into Inkscape. They all completely failed (I didn't even get a circle).

Revision history for this message
jazzynico (jazzynico) wrote :

Thanks for taking the time to file a report!

Bug reproduced on Windows XP, Inkscape trunk rev. 15028.
Note that the car is imported, bug with no fill and no stroke. As a workaround, you can edit it in the XML editor (Shift+Ctrl+X) directly.

tags: added: emf importing
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
aditsu (aditsu) wrote :

Ok, I can find various pieces of it with the XML editor, but it doesn't seem to be selectable in any other way.

Revision history for this message
aditsu (aditsu) wrote :

I found some more examples in the meantime, with similar problems. Here's a more complex one. After importing in Inkscape, I can restore two missing paths with the XML editor: an ellipse, and a whole bunch of other things combined into one path. After setting a fill color (with the normal "fill and stroke" tool), the paths become selectable and editable. Then I can do "break apart" on the second path, followed by "difference" between different parts, to obtain the desired result.

At the end, one "thick line" is still missing: there should be 5 lines on the right side, but I only get 4. The missing one should be shorter and positioned left of the circle/ellipse.

Of course, Inkscape should handle all these things automatically, not miss any piece, and set the correct color.

Revision history for this message
aditsu (aditsu) wrote :
Revision history for this message
aditsu (aditsu) wrote :

And finally, another example that gets butchered really badly (I can recover some paths but they look nothing like what they should be).

Revision history for this message
aditsu (aditsu) wrote :
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.