-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
pdf: Support setting URLs on Text objects #17832
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
Conversation
Looks like a good idea to me, and likely to be useful even if it doesn't work for usetex strings. I think including pdf files in pdftex (which I suppose is the main use case for usetex with pdf) breaks links in any case, or at least it did when I last tried which may have been 10+ years ago. |
Oh, I think I got that working as well, just didn't update the description. Still need to figure out how to test though. |
Tests and documentation added. |
... test failures are real on mac and windows - doesn't like the string parsing... |
Ah, because we don't have LaTeX on those systems. |
I split that test in two, so it could get the |
This allows annotations which depend on layout of the page to be added.
PR Summary
This is the minimum needed to get what I wanted
, but it still needs some work to be fully implemented. It currently only works for plain text, and not text that goes throughdraw_tex
, as I don't yet know how to get the text bounding box in that path.Also needs tests and documentation.PR Checklist