Free Support Forum - aspose.com

Content convert error in result of saving in svg format

Hi Aspose team,

I am using Aspose diagram 17.4.0 in the Linux environment to convert a visio file to a svg file.
But the results in the text will be repeated or missing words.

Here is the code I'm using:

Diagram d = new Diagram(filePath);
SVGSaveOptions saveOp = new SVGSaveOptions();

String dirName = UUID.randomUUID().toString();
File file = new File( dirName+"/");
file.mkdirs();

for (int i = 0; i < d.getPages().getCount(); i++) {
saveOp.setPageIndex(i);
d.save(new FileOutputStream(dirName + "/" + (i + 1) + ".svg"), saveOp);
}

And I also uploaded the origin visio file and the image of the result.
Please help me figure it out what happend, thanks.

Hi Lai,


Thank you for contacting support. We managed to replicate the problem of missing words in the text. It has been logged under the ticket ID DIAGRAMJAVA-50493 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates. We are sorry for the inconvenience caused.

Hi Lai,


Thank you for being patient. In reference to the ticket ID DIAGRAMJAVA-50493, please download and try this latest Hotfix version: Aspose.Diagram for Java 17.5.1. Please also let us know how that goes on your side.