Error generating pdf document out of word document using WAS on AIX

We are currently developing a Java application (version 8) and Aspose.Word library version 19.4.0.

The application generates a word document from a template (dotx document). The generation of the word document is OK, no hassles here. But when we try to save this result of PDF, this doesn’t keep the Fonts and the layout of the images inside the PDF in some platforms.

The final step to generate the PDF document is like this:

 ByteArrayOutputStream oStream = new ByteArrayOutputStream();
 doc.save( oStream, SaveFormat.PDF );

In Linux, we have observed that the PDF keeps the format, but running the same code in AIX, the layout is completely lost, resulting in a useless PDF because, upon opening it, the images of the document are out of place and the fonts are lost.

We have discarded that the problem relies on the application server, because in Linux the result is great in Tomcat and in Websphere.

However, running the same application in WAS results layouts and fonts lost.

Can you provide us additional insights to solve this issue?

@rlunaro

Please note that Aspose.Words requires TrueType fonts when rendering document to fixed-page formats (JPEG, PNG, PDF or XPS). You need to install fonts that are used in your document on the machine where you are converting documents to PDF. Please refer to the following articles:
Using TrueType Fonts
Manipulating and Substitution TrueType Fonts
Specify TrueType Fonts Location

Thanks, we will have a look at this and we let you know what the results are.