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.
var doc = new Document(@".\test.docx");
doc.LayoutOptions.TextShaperFactory = Aspose.Words.Shaping.HarfBuzz.HarfBuzzTextShaperFactory.Instance;
I’ve attached the test files and a screenshot for your reference. Could you please help me take a look?
In case it helps, I made some comments in my screenshot because I’m suspecting it is coming from ‘Page break before’ paragraph property.