[Poppler-bugs] [Bug 17195] New: pdfinfo prints unrotated dimensions for landscape pages

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 18 19:20:06 PDT 2008


           Summary: pdfinfo prints unrotated dimensions for landscape pages
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: ilmari.heikkinen at gmail.com

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:

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Poppler-bugs mailing list