is there any way I can highlight part of the text based on given a index span within in a pdf? #2621
Unanswered
keyuchen21
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Inside PDF files, text is rendered through multiple operators and with possible character mappings, thus using indices for highlighting becomes rather complex to implement. I would recommend trying to use the text visitor approach instead which yields you coordinates you should be able to use for generating annotations for the corresponding texts. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
is there any way I can highlight part of the text based on given a index span within in a pdf?
Beta Was this translation helpful? Give feedback.
All reactions