This repository was archived by the owner on Jul 7, 2020. It is now read-only.
Repository navigation
Conversation
added 5 commits
September 22, 2014 16:40
Generated by stringer.
Encountered parsing NYT crosswords.
Restoring from an empty graphics stack looks like a mistake in the PDF, but other PDF readers handle it fine, and ignoring it appears to work correctly. Encountered parsing NYT crosswords.
Some PDFs contain non-whitespace junk after the %%EOF marker. Other PDF parsers handle it fine. Encountered parsing NYT crosswords.
odeke-em
reviewed
Mar 2, 2017
odeke-em
left a comment
Contributor
There was a problem hiding this comment.
And at the end, please squash the commits into one :)
| } | ||
| return c | ||
| default: | ||
| panic("bad content kind") |
Contributor
There was a problem hiding this comment.
I think this panic here might cause undocumented and unexpected problems for users. I was using the package earlier on the bus back from school and wrote code that invoked p.Content() without explicitly checking the Kind(). Perhaps we can just make an explicit check for Array then let the contentForStream handle be the catch all?
Collaborator
Author
There was a problem hiding this comment.
No description provided.