Spacing and word-wrap differences in generated PDF

Hello, when saving the attached 1-paragraph DOCX to PDF, the resulting PDF version is breaking at a different location than the Word document. Aspose.Words for .NET v 24.2 (and same behaviour in 24.3)

input.docx (33.1 KB)
output.pdf (1.0 MB)

  • In the DOCX, the second line breaks after the word “conclusion”.
  • In the PDF, the second line breaks after the word “his”.

Code:

var doc = new Aspose.Words.Document("input.docx");
doc.Save("output.pdf", Aspose.Words.SaveFormat.Pdf);

Can you please advise how to have the PDF match the Word document.

Thank you

@ast3
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-26769

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as WORDSNET-26769) have been fixed in this Aspose.Words for .NET 24.4 update also available on NuGet.

I have tested the new release, and confirm it has resolved this issue. Thank you!

1 Like