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
I am using this library to fetch indexing of some tags, everything is working fine. But in a specific file i am getting an issue.
In my file i have tags in the following index c:a:r, i:a:o, i:a:o
but when I am trying to fetch index of these tags from the file, it returns below index.
i:a:o, i:a:o, c:a:r
Please never submit an issue that we cannot reproduce based on its content.
If you have confidential data that you cannot attach in the issue thread, you can instead a maintainer's email address - e.g. mine. Then, confidentiality is guaranteed.
Description of the bug
I am using this library to fetch indexing of some tags, everything is working fine. But in a specific file i am getting an issue.
In my file i have tags in the following index c:a:r, i:a:o, i:a:o
but when I am trying to fetch index of these tags from the file, it returns below index.
i:a:o, i:a:o, c:a:r
Here is my python script
import fitz
file_path = "checkbox-issue.pdf"
doc = fitz.open(file_path)
fitz.TOOLS.set_small_glyph_heights(True)
for page in doc:
text = page.get_text()
print(text)
Please provide me any solution if i am doing something wrong.
Thanks
How to reproduce the bug
use below script
import fitz
file_path = "checkbox-issue.pdf"
doc = fitz.open(file_path)
fitz.TOOLS.set_small_glyph_heights(True)
for page in doc:
text = page.get_text()
print(text)
PyMuPDF version
1.23.x or earlier
Operating system
Linux
Python version
3.9
The text was updated successfully, but these errors were encountered: