I am evaluating Aspose.Imaging as a possible way to convert EMF files to SVG and render to high-quality PNGs in Java.
With the attached (and my first ever tested) EMF file, the result is lacking in several ways:
- characters run into each other and are partially wrong
- the mathematical “root” symbol is incomplete
This erratic conversion behaviour shows both when converting to SVG or to PNG, in identical form.
When I open the EMF file in e.g. GraphicConverter 10 on the Mac (i.e. it also does not use native Windows APIs for EMF rendering), the EMF shows correctly, so all needed fonts seem to be installed on my system.
I am attaching an archive with the source code I am using, the source EMF, and the resulting EMF + PNG.
What is also strange is that the SVG file does consist merely of a pixel image (PNG) instead of the vector objects, so I’m actually losing the vector trait of the EMF format during conversion.
Can anyone point me to what I am doing wrong, and which settings I need to make in Apose.Imaging so that vectors are retained, all objects show and the right fonts are chosen?
aspose-imaging-test.zip (16.1 KB)