Free Support Forum - aspose.com

Text vanished and shifted in the result of Saving a vsd file into SVG format

Hi

I am using Aspose Diagram 17.11.0 JAVA to convert vsd file into SVG format.

Here is my code for test:

String fileName = "d1.vsd";
Diagram d = new Diagram("custom/input/visio/" + fileName);
SVGSaveOptions saveOp = new SVGSaveOptions();

new File("custom/output/visio/" + fileName + "/").mkdirs();

for (int i = 0; i < d.getPages().getCount(); i++) {

	System.out.println(d.getPages().get(i).getName());
	saveOp.setPageIndex(i);
	d.save(new FileOutputStream("custom/output/visio/" + fileName + "/" + (i + 1) + ".svg"), saveOp);
}

In the result of this file, there are several text shifted-up, and some are vanished.

Please check the comparison images, the result, the vsd file. Thank you~
d1.zip (671.0 KB)
result.zip (64.2 KB)
text shifted.JPG (120.5 KB)
text vanished.JPG (160.4 KB)

Craig

@craig.w.su,

We managed to replicate the highlighted issues in our environment. We have logged tickets in our bug tracking system as follows:

DIAGRAMJAVA-50574: VSD to SVG - the text items are misplaced
DIAGRAMJAVA-50575: VSD to SVG - the text items are missing

We have linked your post to these tickets and will keep you informed regarding any available updates.

@craig.w.su,

The linked ticket ID DIAGRAMJAVA-50575 has been resolved and will be included in the next version 17.12 of Aspose.Diagram for Java API. We will notify you once the next version is published.

@craig.w.su,

The fix of linked ticket ID DIAGRAMJAVA-50575 has been included in the full version 17.12. Please download and try the latest version 17.12 of Aspose.Diagram for Java API.

The issues you have found earlier (filed as DIAGRAMJAVA-50574) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou