Table shifted to the top and overlaped the header in the PDF converted from DOCX

Hi,

When converting a DOCX to PDF, I noticed the table on the first page is moved a bit to the top and overlapped the header.

Code:

var doc = new Document(@".\test2.docx");
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
doc.Save(@".\AsposeOutput.pdf");

The issue doesn’t happen if I used ‘save as’ to save the DOCX to PDF manually in MS Word.

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

test.zip (111.6 KB)
image.png (24.4 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-21360. 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-21360) have been fixed in this Aspose.Words for .NET 23.5 update also available on NuGet.