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

Update pdf-repair example and fix cross-reference stream index count #106

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

microshine
Copy link
Contributor

This pull request updates the pdf-repair example and fixes an issue with cross-reference stream index count. Previously, some documents with more indexes in the cross-reference stream than represented in the Index could lead to errors. To avoid this, we pre-determine the number of objects (totalCount) and exit the loop if we reach this count. Additionally, the pdf-repair example usage has been updated to include repair notes.

@microshine microshine merged commit 790173e into main Nov 7, 2023
@microshine microshine deleted the fix-xref-stream-indexes branch November 7, 2023 13:41
Copy link

github-actions bot commented Nov 7, 2023

NPM package v1.13.14 has been published 🎉

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