Display chinese problem

Hi,

I have java program, function is to have data merge into document template and create a output file with doc, docx and pdf file format.

However, I found chinese characters cannot display correct when the file is save as pdf format, while no such problem when document is save as doc or docx format

Temporary solution, I need to change the fields with chinese input with “Chinese fonts” before running the function.

So, is there other solutions so that it is no need to change chinese fonts on fields before running?

FYI, above problem occur when java program running in Linux environment, and it got no Chinese display problem when programs are running in MS windows environment.

Thanks

Thanks

Hi,

Thanks for your inquiry. First off, I would suggest you please upgrade to the latest version of Aspose.Words for Java and read the following articles:

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

In case above suggestions don't help, please attach your input Word document, Chinese Font files and output Pdf document showing the undesired behavior here for testing. Please ZIP these resources before attaching. We will investigate the issue on our end and provide you more information.

Best regards,