-
Notifications
You must be signed in to change notification settings - Fork 80
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
Empty text output #62
Comments
I want to piggy back onto this and say I also had a document that had a full page omitted from the output. Its a military technical manual. More can be found here though I had only tested against the one I linked above. |
The cause of the problem with Model-Card-Claude-2.pdf is an upstream problem in lopdf. I've filed a PR for it here: J-F-Liu/lopdf#245 |
@whyayala which page was omitted? |
Upstream PR was already merged and released but the issue persists in pdf-extract 0.7.4, I believe because cargo.toml depends on lopdf "0.30.0" which won't match "0.32.0". |
Can confirm that bumping lopdf to 0.32.0 fixes text output for the pdf linked in this issue and doesn't seem to break anything. Some different samples are still outputting an empty string, so there seem to be more issues that cause this symptom. |
Not sure if you are collecting such examples, but here's one:
The PDF: Model-Card-Claude-2.pdf
pdftotext
andpdf.js
both work on this file.The text was updated successfully, but these errors were encountered: