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
Exponential numbers are invalid in most parts of PDF - numbers must be either regular decimal or integer without exponents, and there are limits on the mininum nonzero and maximum values as well. Since it seems likely this mistake occurs elsewhere, I can look into issuing a warning and rounding. In the meantime, you can trap the error and fix it if you like, since the PDF is not correct.
What were you trying to do?
OCRmyPDF/src/ocrmypdf/pdfinfo/info.py
Lines 890 to 892 in 6ca4940
This can crash with
When
/TrimBox
of a page is likeBecause pikepdf for
[float(d) for d in page.trimbox.as_list()]
returnsWhere are you installing/running from?
source build
OCRmyPDF version
No response
What operating system are you working on?
No response
Operating system details and version
No response
Simple sanity checks
Relevant log output
No response
The text was updated successfully, but these errors were encountered: