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

Free Support Forum - aspose.com

Render Persian Language Text in Word Document to PDF using Java

Thank you for your feedback.
I’ve tried the trial version of aspose.Words-20.7 and unfortunately the problem didn’t resolve.
Here is the Pdf produced from Aspose.
document (1).pdf (122.6 KB)


Please ZIP and upload your input Word document and any custom Font file(s) used in this Word document here for testing. We will then investigate the issue on our end and provide you more information.

Here is the word and fonts using in it.
aspose.zip (600.7 KB)


We have installed the fonts you provided and then used the following ‘Aspose.Words for Java 20.7’ API’s code to produce an output PDF:

Java Code:

Document doc = new Document("C:\\aspose\\letter_19305.doc");

Please also check how to enable OpenType features of Aspose.Words for Java?

Do you see the same problem in above output PDF file? If yes, then please create and attach a comparison screenshot which highlights (encircles) the problematic area in this Aspose.Words 20.7 generated PDF (with respect to Word document) along with the following missing font files:

  • B Yagut
  • B Nazanin

We will then investigate the issue further and provide you more information.