Closed px-xp closed 8 months ago
Hi @px-xp, thank you for the clear bug report. Luckily, a fix for this has already been made (https://github.com/jsvine/pdfplumber/commit/07d9997ee587723c32e2178be65eea584102bf58) and is available on develop
. To install that version before it's part of the next release, you can run pip install -U git+https://github.com/jsvine/pdfplumber@develop
Here is the result of im.reset().debug_tablefinder()
:
Thank you @jsvine. This is a really cool tool!
Describe the bug
When I run
debug_tablefinder
on a PDF the offset of the overview is weird.Have you tried repairing the PDF?
Yes
Code to reproduce the problem
PDF file
Please attach any PDFs necessary to reproduce the problem.
buggy.pdf
If you need to redact text in a sensitive PDF, you can run it through JoshData/pdf-redactor.
Expected behavior
Debug view should line up correctly.
Actual behavior
Debug view is offset.
Screenshots
Would expect this to line up nicely like other PDFs but it doesn't.
Environment
Additional context
Add any other context/notes about the problem here.