-
Notifications
You must be signed in to change notification settings - Fork 125
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
Loading PDF gets stuck at READ XREF AND TABLE
#18
Comments
It seems if you try to run it a little longer, it outputs the error:
Edit: btw if anyone wonders how to get such outputs, you can use the Looking at the Catalog type, StructTreeRoot is optional. Inspecting the pdf reveals that indeed there is a reference to a non-existent/free object. So I think the best fix is to treat such references as absence of the object rather than error. Working on it. |
Done and pushed to master. |
When I benchmarked it, seems like most of that time is spent in |
@hahnrobert I don't know if you are still interested, but it seems that with the latest rewrite, reading is much faster. On current master, run |
there is also |
When loading this PDF via this code, the program gets stuck:
let _file = pdf::file::File::<Vec<u8>>::open("test1.pdf")?;
The text was updated successfully, but these errors were encountered: