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

Apply page rotation when calculating page dimensions for text extraction #356

Closed yob closed 3 years ago

yob commented 3 years ago

On pages with a Rotate property, we need to rotate the MediaBox when determining the page dimensions used to extract text.

Partial fix for #354