kakwa / libemf2svg

Microsoft (MS) EMF to SVG conversion library
GNU General Public License v2.0
95 stars 32 forks source link

an emf file, some element misplaced. #29

Open FrankLiu007 opened 4 years ago

FrankLiu007 commented 4 years ago

image238.zip This emf file convert to svg, some text misplaced.

edrozenberg commented 4 years ago

I'm seeing the same issue with this file. Too bad so sad I won't be able to use this project for my emf images after all, since I cannot trust it to do 100% proper conversion and cannot review each original & converted image to ensure expected output. Seems MS Office or Libre/OpenOffice is still the only option for faithful conversion.

edrozenberg commented 4 years ago

Also tried inkscape, inkscape -e image238.png image238.emf but that app has similar bad issues with label positioning when interpreting emf files. https://gitlab.com/inkscape/inbox/-/issues/2847

In PowerPoint MacOS:

image238 emf viewed in PowerPoint Mac

In Inkscape 1.0 Linux:

image238 emf viewed in Inkscape Linux

Converted by emf2svg-conv and ImageMagick (emf -> svg -> png): image238 Converted by emf2svg-conv