I am trying to generate PDF documents using the following options:
- Use Aspose.Words to generate the document and using document.Save to save the document as PDF.
- Use Aspose.Pdf for generating PDF document
When I add text containing Japanese/Chinese characters, using Aspose.Words to generate PDF, the characters are displayed as squares.
When I use Aspose.Pdf, the text containing Japanese/Chinese characters are not displayed in the generated PDF document.
Please advise how PDF documents can be generated containing Japanese/Chinese Charaters.
Note: When I use Aspose.Words to generate Word Document, the Japanese/Chinese characters are displayed properly.
Thanks for your request. Could you please attach your input and output documents here for testing? I will investigate the issue and provide you more information.
Thanks for your reply.
Attached the following documents:
WordReport.doc - Word Document generated using Aspose.Words saving as .doc file. (Displays the Japanese/Chinese characters correctly)
WordReport.Pdf - PDF document generated using Aspose.Words as .Pdf file.
(Displays Japanese/Chinese characters as square boxes)
Please let me know, if you need any additional information.
Thank you for additional information. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.
Thanks for the reply and hope that you can provide a solution sooner.
Are there any other ways, I can generate PDF documents containing Unicode Characters using Aspose products? (may be using Aspose.Pdf or so?). Please advise whether you would like me to post this question to Aspose.Pdf forum?
Thanks for your request. The problem might occur because Aspose.Words cannot find such glyphs in Time New Roman font. During converting document to PDF Aspose.Words reads font files and creates subsets of fonts, which are used in PDF.
You can use Japanese and Chinese fonts to output Japanese and Chinese text appropriately.
The issues you have found earlier (filed as 14621) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
I have the latest Aspose.Words 7.3 11.5, but this is still happening to me. I’m building the document in Aspose.Words and then saving it as a pdf, then all the characters are just blank squares.
Do i need to change the entire document to a different font?
Thanks for your inquiry. Could you please attach your input Word document, you’re getting this problem with, here for testing? I will investigate the issue on my side and provide you more information.