Text in images gets cut off after converting DOCX to PDF

Hi,

When I converted a DOCX with EMF images (EMF was generated by Aspose.Cells) to PDF using Aspose.Words, the text in the PDF is cut off.

Code:

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

If I saved the DOCX to PDF using MS Office ‘save as’ manually, the issue doesn’t appear.

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

test.zip (500.6 KB)
image.png (35.1 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-21848. 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-21848) have been fixed in this Aspose.Words for .NET 21.6 update and this Aspose.Words for Java 21.6 update.