-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page.hyperlinks breaks on CroppedPages #1171
Labels
Comments
This does avoid raising an exception, though it does not appear that hyperlinks are filtered based on cropped area: reproducible example of what I mean:
|
jsvine
added a commit
that referenced
this issue
Aug 4, 2024
Ah, good catch, thanks! Now fixed in 22494e8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
calling
.hyperlinks
on aCroppedPage
raises AttributeErrorsCode to reproduce the problem
Paste it here, or attach a Python file.
PDF file
example pdf for testing:
https://www.antennahouse.com/hubfs/xsl-fo-sample/pdf/basic-link-1.pdf
Expected behavior
.hyperlinks
should work onCroppedPage
objects and it should only return hyperlinks contained within the cropped areaEnvironment
The text was updated successfully, but these errors were encountered: