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

Free Support Forum - aspose.com

Thai characters not rendered correctly when saving Word to PDF


When saving a Word document containing Thai characters to PDF the characters are not rendered correctly. To reproduce this issue please use the attached file and the following code:

using asposeWordsSaving = Aspose.Words.Saving;

var wordDoc = new Document(“ThaiChars.docx”);

var pdfSaveOptions = new asposeWordsSaving::PdfSaveOptions
JpegQuality = 100,
TextCompression = asposeWordsSaving::PdfTextCompression.None,
PageCount = wordDoc.PageCount

pdfSaveOptions.OutlineOptions.DefaultBookmarksOutlineLevel = 9;
pdfSaveOptions.MetafileRenderingOptions.RenderingMode = asposeWordsSaving::MetafileRenderingMode.Vector;

wordDoc.Save(“ThaiChars.pdf”, pdfSaveOptions);

I attached a image showing the differences (used red arrows to mark only 3 differences but there are many differences in how other characters are rendered).

Thank you,

Aurelian Iordache
Software Developer
IBM Romania

Hi Aurelian,

Thanks for your inquiry. While using the latest version of Aspose.Words i.e. 14.3.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-10036. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,