Hi,
I’m currently facing a big problem with Aspose.Words save to PDF, it works fine on Windows, but when the same code runs on Solaris the PDF file is missing all chinese fonts, each chinese character is replaced by a blank square. :(The sample code looks like this:
Document doc = new Document("/u02/doc/document.doc");
FontSettings.setFontsFolder("/u02/fonts/", false);
doc.save("/u02/gen/document.pdf", SaveFormat.PDF);
The code runs without error.
I’ve uploaded all the necessary font file to folder /u02/fonts/
I’m sure that all the folder is present, and has been given sufficient permission.
Also, I’m using Aspose.Words 10.6.0.0
Please take a look at the two pdf file screen capture I attached.
I’m looking forward to your reply.
Thanks and best regards.