problems with EMF import (garbled text)

Bug #1434462 reported by HZH
This bug report is a duplicate of:  Bug #1425317: EMF File looks wrong. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Hello Inkscape dev team

This is probably my 1st bug report to inkscape. I work with inkscape for several years now and also want to use the opportunity to say "thanks for the good work".

OS: likely independent (problem exists on Linux 64/32 as well as W32)
HW: independent
general setup: various boxes (x86/amd64), inkscape 0.91 on Gentoo Linux (various, 64 and 64/32 multilib/multiABI and pure 32) or Windows XP (NT 5.1) (SP3)

problem:
( might be similar or the same as https://bugs.launchpad.net/inkscape/+bug/1425317 ? )

I have a free-as-in-beer program called "Spin Works" (v3.x) that seems to run on .net (and mono in Linux though I didn't dare to emerge all that mono stuff an mess with it yet). The program is for working on NMR spectra (this is very handy for chemists).
So it allows you to export the spectra once you're satisfied with it, but sadly not as SVG but only as emf. I don't know if it uses its own export filter or some windows / .net library for that.

In the end you obtain an emf file which has a bit too much height ("page size") but that was no real problem. Of course when I want to incorporate it in my thesis or a paper and add e.g. a molecule sketch to it I nedd to edit it and bring it to a real format. (Didn't try if libo can read emf, iirc wmf was possible with ymmv-results.)
The first thing that comes to my mind when something is even remotely vector is inkscape. So "back at the time" (0.48.x) I used inkscape on windows, since I was already working with Spinworks at W32. Loaded the emf and exported it as SVG and things were fine. Could work with it on my Linux machines, put it then in LibO. Since v0.91 inkscape has its own emf import (uses lib) and this does not work anymore. Neither in Linux (did not before here anyway) nor Windows - so I guess 0.48.x used an external W32 lib for that purpose in the past.
The pure graph is still intact, but all the text and stuff below is totally messed up. I had to revert to inkscape 0.48.5 on W32 and have to do the emf2SVG export there again.

I have attached one possible sample file.
Also a bitmapish png that show how things should look like and a screenshot of the garbled import.

PS: I do have a media-libs/libwmf-0.2.8.4-r5 installed on Gentoo, but http://wvware.sourceforge.net seems about dead to me. The actually still link to sodipodi... :-)
An "equery depgraph =media-gfx/inkscape-0.91" brings up no libwmf, though. Which one do you use for emf/wmf import?

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

Sorry, can ony upload one file at a time as it seems and I didn't want to put it all into a container file.

Revision history for this message
HZH (hzh) wrote :

And the screenshot of the garbled import in current (0.91) versions of inkscape.

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

On 2015-03-20 10:12 (+0100), HZH wrote:
> problem:
> ( might be similar or the same as https://bugs.launchpad.net/inkscape/+bug/1425317 ? )
(…)
> The pure graph is still intact, but all the text and stuff below is
> totally messed up. I had to revert to inkscape 0.48.5 on W32 and have
> to do the emf2SVG export there again.

It is the same issue as tracked in bug #1425317 - reproduced on OS X 10.7.5 with Inkscape 0.91 depending on the locale setting used by inkscape (ok for en_US, broken for de_DE), and is fixed in latest trunk (text layout/positioning works correctly independent of locale settings).

Linking as duplicate to bug #1425317 - it is planned to include the fix for bug #1425317 in upcoming bug-fix release 0.91.1 (no release date set - the team is working on it).

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.