We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Localization issue

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

Hi Martin,


Thanks for your inquiry. After an initial test with Aspose.Words for Java 14.4.0, I was unable to reproduce this issue on my side (please see attached out.pdf). I would suggest you please upgrade to the latest version of Aspose.Words. You can download it from the following link. I hope, this helps.
http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/default.aspx

Best regards,

I updated library to 14.4.1. The output is corrupted (see attachment).


Regards
Martin

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.

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

I hope, this helps.

Best regards,

Thank you a lot. I think this was the cause.


Regards
Martin