Closed Bug 1810750 Opened 2 years ago Closed 1 year ago

Implement reorienting of individual print sheets for @page `size` when pages-per-sheet==1

Categories

(Core :: Printing: Setup, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1833244

People

(Reporter: jwatt, Unassigned)

Details

Attachments

(2 obsolete files)

Currently our implementaion always rotates the page(s) contained in a sheet for '@page { size: landscape }'.

I don't think it really make sense for page-orientation to exist if we don't rotate the page rather than the sheet for @page { size: landscape} for the common case where pages-per-sheet is 1. The main reason for page-orientation to exist is to rotate sheets that were laid out using the orientation that isn't the default back to the default orientation. (This is particularly useful for PDF output.)

Flags: needinfo?(emcdonough)

I believe the purpose of page-orientation is to allow for mixed orientation pages in a document, yes. For a single-page document it does seem like we could just use size: landscape, but I believe that rotation with page-orientation also implies the document is laid out orthogonal to the paper (as in, the actual text/images/etc are rotated in the document when it is sent to print), right? So we kind of always have to use respect it in that way, don't we?

Flags: needinfo?(emcdonough) → needinfo?(jwatt)

I'm going to come back to this bug and your questions later, but...

I realised in the course of doing more GSuite docs tests that Gsuite doesn't actually use sheet rotation in the print document (contrary to what you see in kiosk mode), even for one page-per-sheet. Even though Chrome supports both sheet and page orientation, Gsuite just uses page rotation. I had thought that we needed a "full" implementation, which explains why my thinking hasn't quite aligned with yours.

The good news is that that makes implementing the parts of page-orientation that GSuite requires much simpler, and my thought that our current size: portrait/landscape implementation needed to be extended isn't necessary for GSuite.

Anyway, let me get the page parts of page-orientation up for review and then I can think further about this bug.

Severity: -- → S3
Priority: -- → P3
Depends on: 1826301
Depends on: 1833239, 1833241
Flags: needinfo?(jwatt)
Summary: Have '@page { size: landscape }' rotate the sheet when pages-per-sheet is 1 → Implement reorienting of individual print sheets for @page `size` when pages-per-sheet==1
Depends on: 1835447
Depends on: 1835475
Attachment #9334813 - Attachment is obsolete: true

I fixed this in bug 1833244.

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1833244
Resolution: --- → DUPLICATE
No longer depends on: 1826301, 1833241, 1833239, 1835447, 1835475
Attachment #9334812 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: