Comment 4 for bug 1599763

Revision history for this message
Steffen Guhlemann (steffenguhlemann) wrote : RE: [Bug 1599763] Re: Inkscape destroys texts and small lines in emf images

Hi again,
after installing Lyx2.2 (which under the hood again installes inkscape) i get my error again. (First i tried using lyx, then i opened the emf using lyx.) As if inkscape just switched to a different state...

I'll attach some screen shots.... Can i somehow help to track down this?
regards, steffen

> Date: Thu, 7 Jul 2016 11:59:51 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1599763] Re: Inkscape destroys texts and small lines in emf images
>
> - not reproduced on Windows 7, Inkscape 0.91 r13725 (Jan 30 2015)
> - attached is a screenshot of what the file looks like in Inkscape
> - could you indicate, which OS?, which version of Inkscape (see the menu item Help->About)
>
> ** Attachment added: "levenshtein.png"
> https://bugs.launchpad.net/inkscape/+bug/1599763/+attachment/4696818/+files/levenshtein.png
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1599763
>
> Title:
> Inkscape destroys texts and small lines in emf images
>
> Status in Inkscape:
> New
>
> Bug description:
> Background:
> For scientific work (like my phd) i use Lyx (on windows 7, 64 bit in case this matters). Most images i draw myself using powerpoint, exporting them as emf and including them in lyx. For those, who don't know, Lyx is kind of syntactic sugar on top of latex, easing a lot of stuff as for instance image format management. Under the hood for each latex run lyx uses image converters to convert arbitary formats to something latex can handle (e.g. pdf or eps).
> Until may, lyx 2.1.4 used some set of command line tools (e.g. metafile2eps) to convert the images, from lyx 2.2. (may 2016) lyx switched to use inkscape for almost all image conversions.
> => By updating lyx from 2.1.4 to 2.2 i implicitely switched from metafile2eps to inkscape to convert emf images (without knowing about this).
>
> This completely scrambled my emf images.
> 1) (maybe this is no bug, but a feature - only you can judge): The images now have a more reasonable size after conversion. If exporting something from a single powerpoint slide to emf using lyx2.1.4 and metafile2eps, i had to scale the image to something very tiny (5%) to cover the width of a A4-page. Now - using lyx2.2. and inkscape the scaling is way more reasonable for the intuitive user (but i am not sure, if there is something as "correct" here, and if so, what is correct.)
>
> 2.) Actual bug(s):
> 2.1.) If opening the emf using inkscape, i get the same picture i see in the lyx-document (kind of a preview). There most of the drawings are retained, only all textual labels used in the emf are moved to the topleft of the image all drawn on top of other.
>
> 2.2.) If generating a pdf out of lyx (using pdflatex) lyx seems to use inkscape to convert the emf to a pdf (which then is used by latex). I get the same picture if manually opening the emf in inkscape and then save as pdf. In this case not only bug 2.1. applies (all text is moved to the topleft). Further all text is moved further out, so that only parts of the scrambled text are visible any more AND certain lines (which were still present in 2.1. (opening emf in inkscape) just disappear.
>
> I'll attach an example of a wrong handled emf file. (If necessary i can also supply a "ground-truth"-png-Version of the image in case there are doubts, how this is supposed to look like and the result of the inkscape pdf-export of this file. Currently the bugs launchpad seems not to allow me to attach more than 1 file.)
> *In the correct image, in the left there are 3 arrows with 5 labels, in the right there is a table of numbers and one arrow and label pointing to one of the cells.
> *After opening in inkscape i only see the arrows (3 in the left and one pointing to the table) and the empty table. To the topleft a lot of text is drawn on top of each other.)
> * After saving as pdf, i see a lot of white space in the left, with just some serif edges of some letters on the very top left. all arrows are gone. The empty table is still there, but the right boundary line of the table is cut off.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/inkscape/+bug/1599763/+subscriptions