[Poppler-bugs] [Bug 97604] New: pdftocairo: paper width and paper height are swapped for PDF's in landscape

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 5 16:39:35 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97604

            Bug ID: 97604
           Summary: pdftocairo: paper width and paper height are swapped
                    for PDF's in landscape
           Product: poppler
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: cairo backend
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: peh at visiolink.com

When running pdftocairo with -paperw and -paperh arguments, these dimensioners
are swapped when a PDF in landscape is given as input file. Thus, width becomes
height and height becomes width.

This behavior seems strange, as -W and -H arguments passed when cropping a PDF
in landscape mode are not swapped.

I suggest consistent behavior where -paperw and -paperh denote the width and
height of the output file, respectively (and not vice versa).

This change was made in poppler-0.38.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160905/c8542b68/attachment.html>


More information about the Poppler-bugs mailing list