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

Free Support Forum - aspose.com

Character are not appearing correctly in Chinese and Korean language on Windows 2012 R2 + Aspose Pdf

We have a console application which creates PDF using Aspose.Pdf.Document object by passing htmlStream to it.

This works almost for all 33 languages which our system supports on windows 7 machine in our local development environment.

When we ran the same console application on Windows 2012 R2 it ran as expected, unfortunately for some reasons it is not working as expected for Chinese and Korean language. but the thing is html is perfect but the generated pdf has some square boxes in Chinese language and for Korean language almost all character appear as square boxes…

I am attaching a copy of HTML and generated PDF in this post please have a look at it. Expecting an early response for the same.

Thanks for your help
Sample_China_Korea.zip (472.7 KB)

Regards,
Mahesh

1 Like

@Mahesh_AV

Thanks for contacting support.

The language character are missing in the output PDF is due to absence of required font in the production environment. Please try after installing Arial Unicode MS fonts (supports maximum language characters) and in case you still face any issue, please let us know. We will further test the scenario in our environment and address it accordingly.

1 Like

Thank you for the help Asad Ali. It works for us.

@Mahesh_AV

Thanks for your feedback.

It is good to know that suggested approach worked for you. Please keep using our API and in case of any further query, please feel free to contact us by creating a new topic.