-
Notifications
You must be signed in to change notification settings - Fork 524
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
Similar to #826 Still not resolved #2565
Comments
Please provide a reproducing page. This is mandatory for bug reports. |
@JorjMcKie Provided the script I used for generating the highlighted PDF. One more update - Out of 20 PDF files processed, Only 2 had this issue. Rest of the PDF files were proper. This got even more weird now :( |
Of course I saw your code! I have been asking for at least one example PDF page exhibiting your problem. IAW that page must be exactly the same on both (MAC / Linux) platforms and yet be handled differently by the same app on each platform. As an aside: All this is code, that is not influenced by the platform running it. Therefore, I don't believe you can have different behavior between Mac and Linux - given the same files and PyMuPDF versions. |
Reminder: |
Going to close this because of missing data to reproduce the problem. |
Please provide all mandatory information!
Describe the bug (mandatory)
An eclipse / oval shape is annotated instead of rectangle. This issue is noticed on Ubuntu 22.04 but not on Mac. The issue is caused when the OCR text is used and its bounding boxes are used for annotation.
However when annotation is done on Mac using same coordinates, the rectangle looks proper.
To Reproduce (mandatory)
Explain the steps to reproduce the behavior, For example, include a minimal code snippet, example files, etc.
For problems when building or installing PyMuPDF, give the full output of the build/install command so that, for example, all pip/compiler/linker errors/warnings can be seen.
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)
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.
Works on mac
The text was updated successfully, but these errors were encountered: