Free Support Forum -

Issue with saving emf file

Hi there,
I found an issue while working with emf files, in aspose-imaging 20.9. When loading a file, and saving the same file again, there is a big difference with the fonts of the two files. As you can see in the Screenshot below.
The original emf file on the left, and the saved one on the right: difference.png (34.6 KB)

Here is a zip archive with the two files: (10.8 KB)

I’m using this code to open and save the file:

    com.aspose.imaging.fileformats.emf.EmfImage emfImage = (com.aspose.imaging.fileformats.emf.EmfImage) com.aspose.imaging.Image.load(emfFilePath);
            }finally {

I included the fonts folder like this:


Any help would be appreciated,


Can you please try using latest Aspose.Imaging for Java 21.5 on your end and share if there is any issue incurring on your end.

I tried with version 21.5 and it has the same issue with the saved file.


I have created an issue with ID IMAGINGJAVA-7822 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.