Free Support Forum - aspose.com

Aspose-words for Java - Issue with Thai Characters when converting from RTF to PDF

Hi Aspose Words Support team


We use Aspose for converting RTF documents to PDF. However, when Names containing Thai Unicode characters are present in the PDF, the some of the thai characters go missing.

For example in the .rtf file, for the string ทาบสุวรร we output the following UNICODE values to the .rtf in follwing format:
\u3607 \u3634 \u3610 \u3626 \u3640 \u3623 \u3619 \u3619

However, on conversion to PDF, what we get is the following string only
ทบุร instead of the full ทาบสุวรร

So the following characters went missing:
\u3634 \u3626 \u3623 \u3619

Could you please advise?

Thanks
Rav

Hi Rav,

Thanks for your inquiry. Please note that Aspose.Words
requires TrueType fonts when rendering documents to fixed-page formats
(JPEG, PDF or XPS). Make sure you have all the Fonts installed on your
machine you’re using to convert Rtf to Pdf format. I would suggest you please read the following articles:

http://www.aspose.com/docs/display/wordsjava/How+to++Specify+True+Type+Fonts+Location
http://www.aspose.com/docs/display/wordsjava/How+Aspose.Words+Uses+True+Type+Fonts

If you still face problem, please attach
your input RTF document here for testing. I will investigate the issue
on my side and provide you more information.