Problem PDF conversion for Legal documents

Hi,
When we are converting legal size word document to PDF some content is truncating in the first page of PDF document.
Please find the attached source and generated document for your refeernce. We are using Aspose words version 9.3.0.0.
Thanks
Balaji
Code which we used to convert the documents

// Create Document instance
var docWord = new Aspose.Words.Document(sourceFilePath);
docWord.Range.UpdateFields();
// Get all shapes in the document.
var shapes = docWord.GetChildNodes(NodeType.Shape, true);
// Loop through all shapes.
foreach (Aspose.Words.Drawing.Shape shape in shapes)
{
    // If shape contains a vector image, convert it to rester image.
    if (shape.HasImage && (shape.ImageData.ImageType == ImageType.Wmf || shape.ImageData.ImageType == ImageType.Emf))
    {
        var vectorImageStream = new MemoryStream(shape.ImageData.ImageBytes);
        var image = System.Drawing.Image.FromStream(vectorImageStream);
        var resterImageStream = new MemoryStream();
        image.Save(resterImageStream, ImageFormat.Jpeg);
        shape.ImageData.SetImage(resterImageStream);
    }
}
// Setting the PDF Saving Options
var options = new PdfSaveOptions
{
    SaveFormat = SaveFormat.Pdf,
    JpegQuality = 100,
    Compliance = PdfCompliance.Pdf15,
    PreserveFormFields = false,
    TextCompression = PdfTextCompression.Flate,
    EmbedTrueTypeFontsForAsciiChars = false
};
// Saving the document using Aspose.Words
docWord.Save(tempPDFPath, options);

Hello
Thanks for your request. The only difference I see is an extra spacing between tables. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.
You are using very difficult table structure inside your document. As a workaround in this case you can try modifying your document in MS Word to simplify the table.
Best regards,

Hi,
We tried with different types of legal documents and some portion of the second page content is displayed in the first page after PDF generated. Please find attached zip file contains the sample documents and generated PDF documents.
Please let us know if you have the fix ready for this issue.
Thanks
Balaji

Hello

Thank you for additional information. I cannot reproduce the problem with these documents using the latest version of Aspose.Words (9.5.0) and the following code:

// Open document.
Document doc = new Document(yourDoc.docx);
// Save to PDF
doc.Save("out.pdf");

Best regards,

Hi,
We tried with lastest Aspose.Words dlls(9.5.0.0) and it is working fine in windows xp machine and once I deploy the applicaiton in our development envionrment which is in windows 2003 server then it is not working.
Can you please look in to this issue?
Thanks,
Balaji

Hi there,
Thanks for your inquiry.
This maybe happening because you do not have the proper fonts installed on the server. If this does not help could you please attach the output generated from your original machine and the development machine.
Thanks,

Pleae find the attached source document and generated PDF docuemnts from my machine(output-local.pdf) and develpment box(output-development.pdf).
Thanks,
Balaji

Hi Balaji,
Thanks for this additional information.
As I can see from the two documents, your server is missing the “Calibri” font which causes the different generated output. Please see this page in the documentation for considerations regarding regarding fonts when rendering on servers.
Thanks,