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

Free Support Forum - aspose.com

Error converting specific Thai letter to pdf

Hi.
When we convert a special Thai letter from word to pdf, it becomes distorted. Any suggestions on how to resolve this? Thanks!

The letter is this: นั้
We are using version 21.1.0

@lars.olsson

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 are converting documents to PDF. Please refer to the following articles:

Using TrueType Fonts
Manipulating and Substitution TrueType Fonts

If you still face problem, please ZIP and attach your input Word document along with problematic and expected output PDF here for testing. We will investigate the issue and provide you more information on it.

Hi
We have now verified that the fonts are present on the computer converting the .docx to .pdf.
So the problem was not that. But we found that other people with similar problem installed the nuget-package “Aspose.Words.Shaping.HarfBuzz”. We tried that with good results. Is this the recommended solution to this problem or should it be resolved in another way?
Is there any side-effect, using the package, when converting documents that already works fine?

@lars.olsson

There are no side effects of using Aspose.Words.Shaping.HarfBuzz. We suggest you please read the detail of this feature (enable open type features) from following article.