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

Free Support Forum - aspose.com

Images were moved to the previous page in converted PDF

Hi,

When converting a DOCX to PDF, I noticed some images inside tables were moved to the previous page and overflowed the pages.

Code:

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

This issue does not happen if I manually saved the DOCX to PDF using MS Word.

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

test.zip (470.5 KB)
image.png (141.8 KB)
image.png (142.3 KB)

Thanks,

@ServerSide527,
We have tested the scenario and 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 - 23448. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.