Vertical textboxes not rendering correctly in PDF output

Hi,

We have a Visio diagram that contains an organizational chart with vertical textboxes. When we convert the diagram to a PDF via Aspose.Diagram (v. 16.12.0.0), the vertical textboxes show up in the wrong locations in the PDF.

I am attaching a zip of the .vsdx file and the corresponding PDF output to demonstrate the issue. Any input would be greatly appreciated since we have customers that have to manually convert these Visio files to PDF because Aspose is not rendering them correctly.

Thanks,
Natalie

Hi Natalie,


Thank you for contacting support. We managed to replicate the problem of displaced text items and horizontal appearance of the shape’s text. We have logged tickets in our bug tracking system as below:

DIAGRAMNET-51135: The Visio shapes are displaced on converting a VSDX to PDF
DIAGRAMNET-51136: The vertical text appears as horizontal text on converting a VSDX 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.

Thank you! That is much appreciated. I’ll keep checking back for updates.

–Natalie

Hi Natalie,

Sure, please take your time and let us know if you come across any problem. We'll be happy to help you appropriately.

Hi Natalie,

Thank you for your patience with us.

Please try the latest version of Aspose.Diagram for .NET 17.1.1 against the problems logged earlier as DIAGRAMNET-51135 & DIAGRAMNET-51136, and share your feedback.

Hi,

It is working much better with those latest updates. However,
we did notice that if the vertical text box is really close to the
border of the node that it overlays (see Subnode 1.1 in the attached
.vsdx file for an example) and we convert it to PDF, the vertical text
box is now overhanging the edge of the node instead of remaining flush
with it as in the .vsdx file.

Also, another issue that our users
noticed is related to the use of a background. If the .vsdx file has a
background added to it and it is converted to PDF with Aspose, then a
second page is generated with just the background on it (again, see the
attached files for an example).

Thanks for the prompt response!
Natalie

Hi Natalie,

Thank you for your feedback.

sandialabs:

It is working much better with those latest updates. However, we did notice that if the vertical text box is really close to the border of the node that it overlays (see Subnode 1.1 in the attached .vsdx file for an example) and we convert it to PDF, the vertical text box is now overhanging the edge of the node instead of remaining flush with it as in the .vsdx file.

I am able to notice the said problem while using the latest version of Aspose.Diagram for .NET 17.1.1 therefore I have raised this incident with the product team under the ticket DIAGRAMNET-51140.

sandialabs:

Also, another issue that our users noticed is related to the use of a background. If the .vsdx file has a background added to it and it is converted to PDF with Aspose, then a second page is generated with just the background on it (again, see the attached files for an example).

This issue was reproduced on our side as well therefore I have logged it as DIAGRAMNET-51142 for further investigation & correction purposes.

Please spare us little time to properly analyze both aforementioned scenarios and revert back with updates in that regard.

That’s great. Thanks so much!

–Natalie

Hi Natalie,


This is to update you regarding the ticket logged earlier as DIAGRAMNET-51142. Please note, the issue of extra PDF page can be handled by setting the PdfSaveOptions.SaveForegroundPagesOnly property to true. Please check the following piece of code as well as its resultant PDF as attached.

C#

var diagram = new Aspose.Diagram.Diagram(dir + “textbox-alignment-test.vsdx”);
var option = new Aspose.Diagram.Saving.PdfSaveOptions();
option.SaveForegroundPagesOnly = true;
diagram.Save(dir + “textbox-alignment-test.pdf”, option);

The issues you have found earlier (filed as DIAGRAMNET-51135;DIAGRAMNET-51136;DIAGRAMNET-51140) have been fixed in Aspose.Diagram for .NET 17.02.0.


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

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan