Hi,
When converting a DOCX to PDF using Aspose.Words, I noticed the paragraph has been slightly shifted and the picture has been pushed to the next page.
Code:
var doc = new Document(@".\test.docx");
doc.LayoutOptions.TextShaperFactory = Aspose.Words.Shaping.HarfBuzz.HarfBuzzTextShaperFactory.Instance;
doc.Save(@".\test.pdf");
I’ve attached the test files and a screenshot for your reference. Could you please help me take a look?
test.zip (190.5 KB)
image.png (30.9 KB)
In case it helps, I made some comments in my screenshot because I’m suspecting it is coming from ‘Page break before’ paragraph property.
Thanks,