Bug 17195 - pdfinfo prints unrotated dimensions for landscape pages
Summary: pdfinfo prints unrotated dimensions for landscape pages
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-18 19:20 UTC by Ilmari Heikkinen
Modified: 2018-08-21 10:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ilmari Heikkinen 2008-08-18 19:20:04 UTC
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
Comment 1 GitLab Migration User 2018-08-21 10:34:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/266.


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.