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
Certain PDFs contain code where a stream of operations ends with a keyword, without any of the END_KEYWORD characters following it. This causes the parsing to end without the keyword being parsed, even though otherwise the operation stream is valid. For example, in the attached PDF, a code stream consists of b'543 0 0 738 0 0 cm\n /Im1 Do'.
The expected behavior is that if a code stream terminates while parsing a keyword, if the keyword is valid it will execute. Readers such as Adobe Reader, Chrome, and Firefox are able to render the images in the example PDF linked below.
Bug report
Certain PDFs contain code where a stream of operations ends with a keyword, without any of the
END_KEYWORD
characters following it. This causes the parsing to end without the keyword being parsed, even though otherwise the operation stream is valid. For example, in the attached PDF, a code stream consists ofb'543 0 0 738 0 0 cm\n /Im1 Do'
.The expected behavior is that if a code stream terminates while parsing a keyword, if the keyword is valid it will execute. Readers such as Adobe Reader, Chrome, and Firefox are able to render the images in the example PDF linked below.
To reproduce
...will produce a list with two empty lists (one for each page), when each page contains a single image as an XObject.
Attached file used to reproduce: IRS-form-1987.pdf
The text was updated successfully, but these errors were encountered: