Hi,
When converting a DOCX to PDF, I noticed the text gets pushed down to the next page, resulting in multiple layout issues.
Code:
var doc = new Document(@“.\test.docx”);
doc.LayoutOptions.TextShaperFactory = Aspose.Words.Shaping.HarfBuzz.HarfBuzzTextShaperFactory.Instance;
doc.Save(@“.\test.pdf”);
The paragraph at the end of page 2 was pushed down to page 3, therefore some textboxes position got affected. Also, it led to a textbox + image overlapping on page 5 and eventually, an extra page 6.
I’ve attached my test files and screenshots of the issues for your reference. It may be related to my previous posted issue Text is pushed down to page and truncated after DOCX to PDF conversion using .NET two weeks ago
test.zip (302.2 KB)
image.png (152.5 KB)
image.png (66.0 KB)
Could you please take a look into this as the PDF is unusable in this case.
UPDATE: the PDF used in my previous attachments were from an old Aspose version, I’ve re-uploaded with the new PDF created by Aspose 20.6.0. the issues in the description still stand
Thanks,