Inkscape saving to EMF and reopening looses a lot of formatting and text

Bug #1513262 reported by Joel Obrecht
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

When I try to save to EMF format a svg created in Inkscape, it doesn't keep the formatting and text when reopening (reimporting) in Inkscape.

See attachment

Inkscape: 0.91
System: Arch Linux up-to-date i686

Revision history for this message
Joel Obrecht (joel-obrecht) wrote :
Changed in inkscape:
assignee: nobody → Joel Obrecht (joel-obrecht)
assignee: Joel Obrecht (joel-obrecht) → nobody
Revision history for this message
David Mathog (mathog) wrote :

Most of it looks OK when I do it on a recent trunk, see attached.

The loss of color in the upper right rectangle and associated text is because the original SVG uses opacity there. EMF doesn't support that property. There are also two copies of the rectangle and two of the text, which further muddies the water.

Try replacing that rectangle/text with a single rectangle in a solid color, and drag over it the desired text, again in a solid (opacity = 1) color.

Revision history for this message
David Mathog (mathog) wrote :

This is just the problem rectangle. Look at the SVG source code and note all the opacity values which are not 1.

Revision history for this message
David Mathog (mathog) wrote :

This section looks to be in the same style in the original SVG as the problem rectangle text. But if you examine it with an editor you will see that all the opacity values are 1. It exports and imports fine.

su_v (suv-lp)
tags: added: exporting importing
removed: inkscape
Revision history for this message
su_v (suv-lp) wrote :

There seems to be a locale-dependent issue involved too (see bug #1425317), at least with the reporter's EMF file.

Revision history for this message
Joel Obrecht (joel-obrecht) wrote :

Thank you for your work ! It looks indeed much much better now !!!

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

On 2015-11-05 06:44 (+0100), ~suv wrote:
> There seems to be a locale-dependent issue (…)

Nevermind (I misinterpreted my earlier results via command line). When using the GUI and unchecking all EMF export options enabled by default, or only keeping 'Map Unicode to Symbol font', the Ballot symbols are ok (for roundtrip-editing in Inkscape); both with 0.91 and current trunk (on OS X 10.7.5).

Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape trunk rev. 14527.

Changed in inkscape:
status: New → Confirmed
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.