You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug ObjectExtractor.Extract() produces a PageArea with top=0 and bottom=-612. Only happens on certain PDFs, and I'm not sure what causes it.
To Reproduce
I can send the PDF privately. Don't want to expose any proprietary information online.
Expected behavior
I would expect top/bottom to always be positive. left and right attributes don't ever seem to display this behavior.
Screenshots
Additional context
My workaround is to detect this particular scenario and change the way I'm creating the PdfRectangle. I've also seen other scenarios where top=-612 and bottom=0, and height=-612. Probably a similar issue.
The text was updated successfully, but these errors were encountered:
Describe the bug
ObjectExtractor.Extract()
produces aPageArea
withtop=0
andbottom=-612
. Only happens on certain PDFs, and I'm not sure what causes it.To Reproduce
I can send the PDF privately. Don't want to expose any proprietary information online.
Expected behavior
I would expect
top
/bottom
to always be positive.left
andright
attributes don't ever seem to display this behavior.Screenshots
Additional context
My workaround is to detect this particular scenario and change the way I'm creating the
PdfRectangle
. I've also seen other scenarios wheretop=-612
andbottom=0
, andheight=-612
. Probably a similar issue.The text was updated successfully, but these errors were encountered: