When extracting text from a page which was cropped multiple times with relative parameter, the return string is always empty. In the following code snippet, when I try to extract the Column 2, text1 returns the right result, but text2 with relative cropping returns empty.
Describe the bug
When extracting text from a page which was cropped multiple times with relative parameter, the return string is always empty. In the following code snippet, when I try to extract the Column 2,
text1
returns the right result, buttext2
with relative cropping returns empty.Code to reproduce the problem
PDF file
Lorem.pdf![image](https://github.com/jsvine/pdfplumber/assets/56174018/45cf565f-f703-4621-8f13-aa70256dc241)
Expected behavior
text2
should also give the correctly extracted Column 2 value liketext1
.Actual behavior
text2
is empty string.Environment
Additional context
crop1
andcrop2
have the exact same bounding box.Thanks for continuously maintaining this wonderful package.