landscape pdfs are printed portrait with pdf.js
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
People
(Reporter: spam, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [print2020][pdfjs-printing] )
Attachments
(3 files)
Updated•12 years ago
|
Updated•12 years ago
|
Comment 1•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Comment 9•9 years ago
|
||
Updated•5 years ago
|
Comment 13•4 years ago
|
||
Firefox 76
We frequently have documents created with both landscape and portrait oriented pages contained in the one document - example:
https://drive.google.com/file/d/1qZPXsI-k0-C-C6CiNbto-ixnQorLwKAA/view?usp=sharing
In firefox, this prints the portrait page correctly, but shrinks the landscape page to fit it's width into a portrait page:
https://drive.google.com/file/d/16uqlaJ5XLZYaY47fm3yEFmUh2IkTgSRs/view?usp=sharing
In chrome, this prints correctly:
https://drive.google.com/file/d/16wL8SpdC4PQLxqwzbNisuAZLF7P8pGIn/view?usp=sharing
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 14•2 years ago
|
||
Comment 15•2 years ago
|
||
Comment 18•2 years ago
|
||
I think this was fixed by https://github.com/mozilla/pdf.js/pull/13120. Jonas, can you confirm?
Comment 19•2 years ago
|
||
(In reply to Marco Castelluccio [:marco] from comment #18)
I think this was fixed by https://github.com/mozilla/pdf.js/pull/13120. Jonas, can you confirm?
Yes, I'd say so since the examples above WFM now.
Comment 20•2 years ago
|
||
Let's call this fixed then.
I think the only two remaining issues are:
- the PDF preview could be nicer, so the landscape pages are actually shown in landscape orientation;
- when printing to PDF, the page is rotated.
I'm going to file two separate bugs for those.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 21•2 years ago
|
||
(In reply to Marco Castelluccio [:marco] from comment #20)
I think the only two remaining issues are:
Isn't the issues here (at least partially) that we'd need to use e.g. @page
rules, but I'm not sure how well supported that is in Firefox nowadays, to inform the printing back-end about the actual size/orientation of each page?
Comment 22•2 years ago
|
||
(In reply to Jonas Jenwald [:Snuffleupagus] from comment #21)
(In reply to Marco Castelluccio [:marco] from comment #20)
I think the only two remaining issues are:
Isn't the issues here (at least partially) that we'd need to use e.g.
@page
rules, but I'm not sure how well supported that is in Firefox nowadays, to inform the printing back-end about the actual size/orientation of each page?
Yes, I think that will be the "final" solution (filed bug 1795258).
Description
•