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

Free Support Forum - aspose.com

HTML to PDF Java | aspose.PDF | conversion lacks Chinese characters

The generated PDF code is as follows
HtmlLoadOptions options = new HtmlLoadOptions();
Document document = new Document( “D://test.html”, options);
document.save( “D://html_test.PDF”);html_test.zip (201.3 KB)


We can not reproduce the issue so I request you to try to install related fonts and share your feedback. html_test.PDF (382.8 KB)

Hello, mudassir. FAYYAZ

I use the PDF file exported from windows 10 system and Java environment. What font do I need to install? How to set the specified font for exporting pdf


You can install Arial Unicode MS and MS Gothic fonts in your windows environment and share your feedback. API will automatically utilize the fonts for rendering PDF.

Thank you very much. After installing Arial Unicode MS and MS Gothic font in Windows environment, there will be no problem


It’s good to know that the suggestion has proved to be working on your end.

Hello, mudassir. FAYYAZ
There is no problem with the latest version of the package, but there is still a lack of Chinese characters in aspose-pdf-18.10.jar
选商申请预览1200 - 2021-07-21T162557.367.zip (208.1 KB)


Please note that we can only consider this to be an issue only if that is reproduced using latest version too and we log that in our issue tracking system for investigation and resolution.