We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Pdf format saving issues

After saving diagram to pdf format resulting file differs from original visio diagram:

Shape and connectors text has wrong position
Connectors line width always changes to 1pt
You can see difference on screenshots.Example to reproduce is attached

Hi Dmitry,


Thank you for contacting support. We managed to replicate the said problems as below:

DIAGRAMJAVA-50432: The text items are not aligned on saving a Visio in PDF
DIAGRAMJAVA-50433: The width of connector lines is changed on saving a Visio in PDF

Your post has also been linked to these tickets. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.

Hi Dmitry,


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

Hi Dmitry,


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

The issues you have found earlier (filed as DIAGRAMJAVA-50432;DIAGRAMJAVA-50433) have been fixed in Aspose.Diagram for Java 16.11.0.


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

Issue is still can be reproduced with long shape text. Also connectors text has wrong position too. You can see difference between visio and pdf files on attached screenshot. Example to reproduce is attached

Hi Dmitry,


Thank you for contacting support. We managed to replicate the said problems on our side. We have log them in our bug tracking system as below:

DIAGRAMJAVA-50441: Additional Line break and distance in the shape text on exporting a VSDM to PDF
DIAGRAMJAVA-50442: The text of the shapes is not at the center position when exporting a VSDM to PDF

Your post has also been linked to these tickets. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.

Hi Dmitry,

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

Hi Dmitry,


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

Still has issues with some long textes (see screenshot). Also pdf format has wrong font size. Example to reproduce is attached.

Hi Dmitry,


Thank you for contacting support. We have tested your sample code against the latest Hotfix version 16.11.2.0. The output VSDM looks different than your screenshot. We have attached a zip archive of the output VSDM for your kind reference. Please download and use the latest Hotfix version: Aspose.Diagram for Java 16.11.2. Please also let us know how that goes on your side.

I don’t see any difference between screenshot and attached vsdm. There are two files opened on screenshot: pdf file at left and vsdm file at right. Both files generated with the same code, but saved with different format.

I have modified example to make it more obvious. It creates diagram and save it to vsdm and pdf files. Resulted pdf has issues described at my previous post: wrong font size and wrong shape text position.

Hi Dmitry,


Thank you for the updated code example. We managed to replicate the issues as below:

DIAGRAMJAVA-50452: The wrong text position of shapes on saving in the PDF format
DIAGRAMJAVA-50453: The wrong font size on saving a VSDM in the PDF format

Your post has also been linked to these tickets. We’ll let you know once we have any update. We’re sorry for the inconvenience caused.

Hi Dmitry,

Thank you for being patient. We have a good news for you that the ticket IDs DIAGRAMJAVA-50452 and DIAGRAMJAVA-50453 have now been resolved. If there is no issue in the QA phase, then their fixes will be included in the next version 16.12.0 of Aspose.Diagram for Java API. We'll inform you via this forum thread as soon as the new release is published.

The issues you have found earlier (filed as DIAGRAMJAVA-50441;DIAGRAMJAVA-50442;DIAGRAMJAVA-50452;DIAGRAMJAVA-50453) have been fixed in Aspose.Diagram for Java 16.12.0.


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