Vertical text appears as horizontal text in PNG output of Visio Page

Hello,

I am using aspose.diagram v6.7.0 to generate PNG of page - 'Page-1' of the attached visio file. In the PNG output, vertical text appears as horizontal text.

Following code is used to generate the PNG output:

Diagram diagram = new Diagram("textBox.vsdx");
String pageName = "Page-1";
Page srcPage = diagram.getPages().getPage(pageName);
File outputFile = new File("output.png");
int imageFormat = SaveFileFormat.PNG;

int pageIndex = 0;
ImageSaveOptions options = new ImageSaveOptions(imageFormat);
options.setResolution(96);
for (Page page : (Iterable) diagram.getPages()) {
if (page.getID() == srcPage.getID()) {
options.setPageIndex(pageIndex);
options.setPageCount(1);
break;
}
pageIndex++;
}
diagram.save(outputFile.getAbsolutePath(), options);


Can you please analyse this issue.

Thanks,
Neha

Hi Neha,


Thank you for contacting support. We managed to replicate the problem of horizontal text. It has been logged under ticket id DIAGRAMJAVA-50363 in our bug tracking system. Your post has also been linked to this ticket. We’ll keep you informed regarding any available updates.

Hi Neha,

Thank you for being patient. We have a good news for you that the ticket ID DIAGRAMJAVA-50363 has now been resolved. If there is no issue in the QA phase, then this fix will be included in the next version of Aspose.Diagram for Java 6.9.0. We'll inform you via this forum thread as soon as the new release is published.

Hi Neha,


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

The issues you have found earlier (filed as DIAGRAMJAVA-50363) have been fixed in Aspose.Diagram for Java 16.10.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.