Reversed text in some shapes with right to left (hebrew) text

Hello,


We have some Hebrew text in a vsdx file. We are reading it using the shape.getText() API (v17.1.0).

The text comes back correctly most of the times, but when reading it from a shape that is not a regular shape the text comes back in reverse.

By not regular shapes I mean shapes like a Text-Shape (with a name like ‘12pt. text’) or from containers/groups. Regular shapes like ‘Server’ are behaving correctly.

We don’t understand how come the same text comes back on time correctly and another time in reverse. In any text in English the bug does not happen, but somehow hebrew is messing it up.

We also tried to play with the underlying xml to find the root cause of this issue, lang-id and other character parameters did not change anything. Also we tried using the API functions that seemed relevant like getRTLText() but it did not contain any useful information.

This issue may prevent us from using Aspose, we would be very glad to have some help at this one.

Thanks.

Hi,


Thank you for contacting support. Kindly send us your source Visio drawing and code for the testing purposes. You can prepare a ZIP archive of the files and attach to your reply post. Your response is awaited.