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

Empty text output #62

Open
Palmik opened this issue Jul 11, 2023 · 5 comments
Open

Empty text output #62

Palmik opened this issue Jul 11, 2023 · 5 comments

Comments

@Palmik
Copy link

Palmik commented Jul 11, 2023

Not sure if you are collecting such examples, but here's one:

The PDF: Model-Card-Claude-2.pdf
pdftotext and pdf.js both work on this file.

@whyayala
Copy link

whyayala commented Aug 4, 2023

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.

@jrmuizel
Copy link
Owner

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

@jrmuizel
Copy link
Owner

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?

@leumasme
Copy link

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?

@leumasme
Copy link

leumasme commented Feb 2, 2024

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.

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

4 participants