Free Support Forum - aspose.com

Conversion from Word to PDF - Hebrew characters not right to left

Using the c# code below using Aspose words 17.6.0.0, the attached word file produces a pdf where the Hebrew characters have been switched from “right to left” reading to “left to right”.

Aspose.Words.License wordsLicense = new Aspose.Words.License();
wordsLicense.SetLicense(@"C:\Kit\Build\GENI\Vendors\Aspose\License\Aspose.Total.lic");
Aspose.Words.Document document = new Aspose.Words.Document("c:\\dtemp\\hebrew.doc");
document.Save("c:\\dtemp\\hebrew.pdf");

I’m attaching a zip file below. Hebrew.doc is the starting document. Hebrew.pdf is what aspose gives us. Hebrew.bmp is an illustration of what is wrong. I only highlighted two instances but the issue is throughout the whole document. The conversion should keep the reading orientation as in the original word document.

hebrew.zip (101.9 KB)

@danwise,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16787. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.