Hello! I have the following problem with pdfinfo: it shows page size, but doesn't show page rotation. The reported width/height is same for portrait/landscape images, although they render correctly. But you cannot use width/height reported by pdfinfo, because they may be swapped due to rotation. There are several discussions of this on the web, for example, http://www.perlmonks.org/?node_id=485453 even contains simple perl script to extract page rotation.
Created attachment 52578 [details] [review] Patch for pdfinfo to report rotated page size
Personally I would prefer if you added a new field "Page Rotation:". I know it will probably make life a bit harder for you but i prefer if we do not modify existing behaviour of a tool
Created attachment 53336 [details] [review] Shows page rotation in addition to page size I agree that changing existing behaviour could cause all kinds of problems for people. Adding page rotation as another output field is preferable. e.g. Page 1 size: 595 x 842 pts (A4) Page 1 rot: 90 Page 2 size: 595 x 842 pts (A4) Page 2 rot: 90 Regards Vittal Aithal Cognidox Ltd
Commited, will be in poppler 0.20
Thanks for the fix! I agree with you that showing page rotation is far more compatible than changing output. :)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.