Wrong word wrapping on convert docx to pdf

Hi

When we convert Docx to Pdf, word wrapping changes. Native MS Word convertion works fine.
That behavior reproduces at Конвертировать DOCX В PDF Бесплатно - Docx В Pdf and in code with latest Aspose.Words.

Source doc.docx:
doc.DOCX (165.7 KB)

How it converts in Aspose:
aspose.pdf (85.6 KB)

How it converts in MS Word:
word.pdf (347.0 KB)

Sample code:

var loadOptions = new LoadOptions { };

using var file = File.OpenRead(filename);
var document = new Document(file, loadOptions);

var saveOptions = new PdfSaveOptions { };

var resultFilename = Path.ChangeExtension(filename, ".pdf");
document.Save(resultFilename, saveOptions);

@directum Thank you for reporting this problem to us. For a sake of correction it has been logged as WORDSNET-24109. We will keep you informed and let you know once it is resolved.

Does issue fixed? It’s status is “Closed”, but we wasn’t notified here.

@directum The fix for this issue will be included into the Aspose.Words 22.9 release.

1 Like

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