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

Free Support Forum - aspose.com

Myanmar, Nepali, and Sinhala Fonts Not Displaying Properly when Converting to PDF

We have a situation when converting Word (.docx) files to PDF where the fonts are not being displayed properly in the resulting PDFs. How do we go about fixing this? We can provide samples if needed.

Thank you for your assistance!

@tbihlajama,

Thanks for your inquiry. Please note that Aspose.Words requires TrueType fonts when rendering document to fixed-page formats (JPEG, PNG, PDF or XPS). You need to install fonts that are used in your document on the machine where you’re converting documents to PDF. Please refer to the following article:

How Aspose.Words Uses True Type Fonts

If you still face problem, please ZIP and attach your input Word document and fonts used in your document here for testing. We will investigate the issue on our side and provide you more information.

@tahir.manzoor,

Thank you for your response. The fonts in question seem to come preinstalled on Windows 10 (Nirmala UI and Myanmar Text). Some of the characters appear correctly when converted to PDF, but some with certain ligatures do not.

I’ve attached a zip file with some sample documents as well as the fonts. Please let me know if there is anything else you need to correct the problem.

Thank you for the assistance!

TestDocs.zip (2.4 MB)

@tbihlajama,

Thanks for sharing the detail. 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. You will be notified via this forum thread once this issue is resolved. We will share the issue ID with you soon.

We apologize for your inconvenience.

@tbihlajama,

The issue ID is WORDSNET-16835. We will inform you via this forum thread once this issue is resolved.

Hello @tahir.manzoor ,

It has been about 7 months since this issue was raised. Are there any updates to this? I don’t know if it is helpful, but research into the problem seems to show that the Unicode Zero-Width Joiner character is not being handled properly. It should be taking the 4 unicode code sequences and combining them to find the correct character.

See http://unicode.org/standard/where/ for more detail. Hopefully this helps.

Thank you for your continued efforts on this.

@tbihlajama,

Thanks for your inquiry. Aspose.Words does not support Myanmar, Nepali and Sinhala scripts. Your issue is related to advanced typography feature. We regret to share with you that the implementation of this feature has been postponed (no estimate is available at the moment). We will inform you via this thread as soon as this issue is resolved.

We apologize for your inconvenience.