We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

One text line became two lines after converting DOCX to PDF

Hi,

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

Code:
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 lines.zip (28.0 KB)
image.png (8.7 KB)

Thanks,

@ServerSide527

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.