Open Palmik opened 12 months ago
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: https://github.com/J-F-Liu/lopdf/pull/245
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.
@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 deps be bumped to fix this?
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.