Print preview for mixed orientation PDFs is confusing
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
People
(Reporter: marco, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(2 files)
To reproduce, try to print https://bugzilla.mozilla.org/attachment.cgi?id=9298595.
The first page is rotated, so it will correctly be landscape on paper, but it is shown vertically in the print preview so it can be confusing.
Reporter | ||
Comment 1•2 years ago
|
||
After the changes from bug 1820651, the first page is printed portrait, the second page is printed landscape.
Comment 2•2 years ago
|
||
Until we can support printing PDFs with different paper sizes, the initial page is the one used to determine the paper size.
First PDF page is now the output size and orientation, but all other pages are rotated to fit that initial orientation.
Comment 3•9 months ago
|
||
Here's another PDF I found that reproduces the issue.
It's got two US-Letter-size pages, with the first being landscape and the second being portrait. But in print preview and Save-to-PDF-print-output, both pages end up in landscape mode (i.e. the second one is rotated which makes it hard to read)
Chrome gives expected-results, showing the first page in landscape mode and the second page in portrait mode, in print preview as well as in save-to-pdf print output.
Comment 4•9 months ago
|
||
(In reply to Fred Chasen [:fchasen] from comment #2)
Until we can support printing PDFs with different paper sizes, the initial page is the one used to determine the paper size.
At least for cases like the ones linked here, where the paper size is the same and only the orientation differs: it seems like we could use CSS page-orientation
(available since bug 1869880) to rotate the paper on a page-by-page basis to get the expected result.
Description
•