One text line became two lines after converting DOCX to PDF


When converting a DOCX to PDF, I noticed some text in one line became two lines in the PDF.

var doc = new Document(@".\extra lines.docx");
doc.Save(@".\extra lines.pdf");

I’ve attached my test documents and a screenshot for your reference. Could you please help me take a look?

extra (28.0 KB)
image.png (8.7 KB)



We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-18559. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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