Skip to content
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

Caret annotations: initial support #102

Merged
merged 4 commits into from
Dec 29, 2024
Merged

Caret annotations: initial support #102

merged 4 commits into from
Dec 29, 2024

Conversation

0xabu
Copy link
Owner

@0xabu 0xabu commented Dec 29, 2024

  • extract Caret annotations in PDF
  • handle IRT (in reply to) property, and expose as inter-Annotation lins
  • capture (but don't yet use) the optional N name property
  • when rendering the specific case of a Caret annotation with a single StrikeOut annotation as a "reply" (which is how Acrobat seems to render replace+insert edits), render this as a "suggested replacement"

Based on the work of Suyash Mahar in #96

 * extract Caret annotations in PDF
 * handle IRT (in reply to) property, and expose as inter-Annotation lins
 * capture (but don't yet use) the optional N name property
 * when rendering the specific case of a Caret annotation with a single
   StrikeOut annotation as a "reply" (which is how Acrobat seems to render
   replace+insert edits), render this as a "suggested replacement"

Based on the work of Suyash Mahar in #96
@0xabu 0xabu merged commit c7e3612 into main Dec 29, 2024
8 checks passed
@0xabu 0xabu deleted the caret branch December 29, 2024 20:45
This was referenced Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant