Bug 97604

Summary: pdftocairo: paper width and paper height are swapped for PDF's in landscape
Product: poppler Reporter: peh
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: peh
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description peh 2016-09-05 16:39:35 UTC
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.
Comment 1 GitLab Migration User 2018-08-21 11:21:24 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/633.

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.