the bug is pretty much close to our previous paid support ticket #172499 https://helpdesk.aspose.com/tickets.php?id=4819, but is a bit different. Just like for #172499 we’ve set up a small console app reproducing and describing the problem within the comments.
IMPORTANT NOTE: THE PROBLEM IS REPRODUCED ONLY FOR FILES THAT HAVE SOME OF THEIR CONTENT OUT OF PAGE BOUNDS
I was not able to attach solution (even without references), so, just the code file a
nd a test file. You need to add a reference to Aspose.Pdf (you may use latest, but the problem persists since 17.9 at least)