[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


http://bugs.freedesktop.org/show_bug.cgi?id=17195

           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:
http://github.com/kig/poppler/commit/1be66974479781f84fbb6872573bb2febdc1ad60


-- 
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