-
Notifications
You must be signed in to change notification settings - Fork 538
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
Font::uchr() method argument #1 expects int, but float given #621
Comments
Thank you for reporting. Can we use your PDF file for our test environment? I am wondering why |
This is the result of a PHP integer overflow on an extremely large CIDMap offset value.
When converted to integers you get the following values: I think To me, with the |
I don't have any expectations on what this PDF output is. I am putting large amounts of publicly available PDF documents into text and the outcome is meaningless to me. I simply wanted to report the @k00ni This is a publicly published PDF that was found on supremecourt.gov, so given the public nature of this document, I don't see any problem with using it in the test environment. |
Thank you for the feedback. Some observations: BTW. I can't find the cast to int anymore.. must have been blind when mentioning that. |
@jesse-greathouse A release will follow in the next days. |
Description:
I have also left a comment on #440 where this strong typing was added.
15-1039-1.pdf
PDF input
15-1039-1.pdf
Expected output
There is no output, there is only a TypeError when the parse() method is called.
Code
The text was updated successfully, but these errors were encountered: