yob / pdf-reader

The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.
MIT License
1.81k stars 271 forks source link

Gracefully handle streams with a missing endobj token #439

Closed yob closed 2 years ago

yob commented 2 years ago

There no reason this token really needs to be there, we can parse the file just fine if it's missing for some reason. Other readers (inc. Acrobat) handle it, so we can too.

Fixes #138