Bug 97604 - pdftocairo: paper width and paper height are swapped for PDF's in landscape
Summary: pdftocairo: paper width and paper height are swapped for PDF's in landscape
Status: NEW
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-05 16:39 UTC by peh
Modified: 2016-09-05 16:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


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.