You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is.
get_text("block") should give (x0, y0, x1, y1, "lines in block", block_type, block_no) (according to https://pymupdf.readthedocs.io/en/latest/app1.html), but gives back (x0, y0, x1, y1, "lines in block", block_no, block_type)
To Reproduce (mandatory)
Explain the steps to reproduce the behavior, For example, include a minimal code snippet, example files, etc.
with fitz.open(path) as document:
for page in document:
paragraphs = page.get_text("blocks")
for paragraph in paragraphs:
print(paragraph)
Expected behavior (optional)
Describe what you expected to happen (if not obvious).
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Your configuration (mandatory)
Operating system, potentially version and bitness
Python version, bitness
PyMuPDF version, installation method (wheel or generated from source).
windows10 home
python3.7
PyMuPDF-1.20.2-cp37-cp37m-win_amd64.whl
For example, the output of print(sys.version, "\n", sys.platform, "\n", fitz.__doc__) would be sufficient (for the first two bullets).
Additional context (optional)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Please provide all mandatory information!
Describe the bug (mandatory)
A clear and concise description of what the bug is.
get_text("block") should give (x0, y0, x1, y1, "lines in block", block_type, block_no) (according to https://pymupdf.readthedocs.io/en/latest/app1.html), but gives back (x0, y0, x1, y1, "lines in block", block_no, block_type)
To Reproduce (mandatory)
Explain the steps to reproduce the behavior, For example, include a minimal code snippet, example files, etc.
Expected behavior (optional)
Describe what you expected to happen (if not obvious).
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Your configuration (mandatory)
windows10 home
python3.7
PyMuPDF-1.20.2-cp37-cp37m-win_amd64.whl
For example, the output of
print(sys.version, "\n", sys.platform, "\n", fitz.__doc__)
would be sufficient (for the first two bullets).Additional context (optional)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: