We are trying to transform word into pdf. The output file is not coming as expected. The first line of page no 2 is coming in last line of of page no 1 in output file. We have used following code for transformation
String fileName = "C:\\Docs\\test_docs\\test_document.docx";
com.aspose.words.Document document = new com.aspose.words.Document(fileName);
document.save("C:\\Docs\\test_docs\\test_document.pdf");
@rnara I cannot reproduce the problem on my side. But I see that fonts used in PDF produced on my side are different then fonts used in your PDF documents.
Most likely the fonts used in your document are not available in the environment where document is converted. If Aspose.Words cannot find the fonts used in the document the fonts are substituted . This might lead into the layout difference, since substitution fonts might have different font metrics. You can implement IWarningCallback to get a notification when font substitution is performed.