Inkscape destroys texts and small lines in emf images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
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-
*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.
Changed in inkscape: | |
status: | Incomplete → New |
- 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)