Environment:
aspose words 13.8.0
java version "1.7.0_51"
Java™ SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot™ 64-Bit Server VM (build 24.51-b03, mixed mode)
Problem description:
rozpravka.doc is converted by aspose words into test-doc2.pdf (with default configuration). Localized strings are not shown properly. (language SK)
Question:
How to configure aspose words pdf generator to support localized strings?
Thank you in advance for the answer.
Regards
Martin
I updated library to 14.4.1. The output is corrupted (see attachment).
Regards
I tried it once again on the linux system,
pdf contains “unlocalized” chars.
Hi Martin,
Thanks for your inquiry. We are checking with this scenario and will get back to you soon.
Best regards,
Hi Martin,
Thanks for being patient. Your document uses “Times New Roman” font. Aspose.Words requires TrueType fonts when rendering documents to fixed-page formats (e.g. PDF, XPS or SWF). Most likely this problem occurs when you use Aspose.Words on Linux and Aspose.Words cannot locate fonts on your computer. If this is found to be the case, you can either copy True Type font files from a Windows machine to Linux machine or install a True Type font package on your Linux machine. Also, you can use the FontSettings class to specify the location of the font files.
I hope, this helps.
Best regards,
Thank you a lot. I think this was the cause.
Regards
Martin