pdfinfo prints unrotated dimensions for landscape pages
Submitted by Ilmari Heikkinen
Assigned to poppler-bugs
Description
Calling pdfinfo on a PDF with landscape orientation prints the unrotated page dimensions and doesn't tell that the page is rotated.
Proposed fix:
poppler/utils/pdfinfo.cc should use doc->getPageRotate(pg) to either print whether the page is rotated or to swap w and h.
Here's a patch that does w-h swapping: http://github.com/kig/poppler/commit/1be66974479781f84fbb6872573bb2febdc1ad60