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: imaging.zip (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);
try{
emfImage.save("saved.emf");
}finally {
emfImage.dispose();
}
I included the fonts folder like this:
FontSettings.addFontsFolder("C:\\Users\\Path\\to\\Font\\Folder");
Any help would be appreciated,
Clemens