When converting Microsoft Word DOC files to PDF or PNG files, we found some characters are not saved correctly.
Hi Jake,
Please accept my apologies for late response.
Thanks for your
inquiry. Please note that Aspose.Words requires TrueType fonts when
rendering documents to fixed-page formats (PDF, XPS or SWF). Make sure
you have all the Fonts installed on your machine you’re using to convert
Word document to PDF format. I would suggest you please read the
following articles:
If
you still face problem, please share following detail for investigation purposes.
- What environment are you running on?
- OS (Windows Version or Linux Version)
- Architecture (32 / 64 bit)
- Java version
Hi Tahir,
Hi Jake,
Thanks for sharing the detail.
I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSJAVA-910. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.
We apologize for your inconvenience.
Hi Jake,
Thanks for your patience.
Could you please copy all fonts from Windows to your Linux operating system and use FontSettings.setFontsFolder method and let us know if you still face the issue? Please read following documentation link for your kind reference.
http://www.aspose.com/docs/display/wordsjava/How+to++Install+True+Type+Fonts+on+Linux
It worked. Thanks.
Hi Jake,
Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.