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

Undefined or 0 as page number on onBboxesParsed #44

Open
uxmanashraf opened this issue Jun 27, 2023 · 0 comments
Open

Undefined or 0 as page number on onBboxesParsed #44

uxmanashraf opened this issue Jun 27, 2023 · 0 comments

Comments

@uxmanashraf
Copy link

Hi,

The page numbers returned as parameter on onBboxesParsed callback are sometimes undefined or zero. And sometimes, callback onBboxesParsed is called twice, on first call, some of the page numbers are undefined and on second instance there are page numbers. An example pdf is attached where we're facing the 0 or undefined page numbers.
Example_PDF_1.pdf

From another pdf file, I'm attaching the console log where there were undefined page number and on next callback, there were page numbers. This was captures in strict mode and timestamps are visible too.
image

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

No branches or pull requests

1 participant