-
Notifications
You must be signed in to change notification settings - Fork 553
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
get_texttrace returned a incorrect character bbox #2533
Comments
Is this a bug or just a special case? |
It is a bug! I am working on this already. |
😀Haha, thank you for answer. |
Your PDF nevertheless IS a special case in the way it is made - which is the reason why this bug was revealed. |
Just implemented a fix. Should roll out in one of the next versions. |
Haha, nice😀 |
We do no longer support Python 3.7 because this has been retired end of June. |
I see, thanks |
Describe the bug (mandatory)
get_texttrace returned a incorrect character bbox
To Reproduce (mandatory)
盐城高新区投资集团有限公司2023年度第四期超短期融资券募集说明书.pdf
The above code will print this message:
Origin y (634.72998046875) is too close to bbox y0 (633.2604370117188), and this is obviously not right.
Screenshot of the incorrect character bbox (red).
Screenshot code:
Your configuration (mandatory)
print(sys.version, "\n", sys.platform, "\n", fitz.doc)
3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)]
win32
PyMuPDF 1.22.5: Python bindings for the MuPDF 1.22.2 library.
Version date: 2023-06-21 00:00:01.
Built for Python 3.7 on win32 (64-bit).
The text was updated successfully, but these errors were encountered: