Text cut off at the top when converting DOCX to PDF

Hi,

When converting a DOCX with some EMF images to PDF, I noticed some text are cut off at the top in the output.

Code:

var document = new Document(@".\test.docx");
document.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
document.Save(@".\out.pdf");

When I convert to PDF manually using MS Office ‘save as’ feature, the issue doesn’t happen.

I’ve attached my test documents, a screenshot and the used font files for your reference. Could you please help take a look?

test.zip (899.2 KB)
image.png (135.8 KB)

Thanks,

@ServerSide527 I was managed to reproduce your issue on my side. I have logged it as WORDSNET-24138 in our defect tracking system. We will keep you informed and let you know once it is resolved.

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