New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 887734 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Should maximize page usage when a PDF doc has mixed orientation.

Project Member Reported by xlou@chromium.org, Sep 20

Issue description

1. Open a PDF with mixed orientation in Chrome, with N-up printing feature flag enabled.
2. hit ctrl+p to bring up print preview dialog.
3. expand more settings and select a pagesPerSheet > 1
4. See the image on the right side of print preview dialog.

The expected behavior is that all subpages on a sheet should have the same orientation to maximize paper usage.



 
Cc: weifangsun@chromium.org
Have this been discussed? Which direction are you going to rotate?
We discussed this when I was working on the PDFium API.  I added a TODO in my code checked in to rotate pages in the future.  Hence I created this bug to keep track of the work needed.

My plan as shown in the CL sent for review is to rotate 90 degree counterclockwise, and that's what Safari does as well.  However, Acrobat reader Mac OS version doesn't rotate pages at all when I tried to print a portrait landscape mixed orientation PDF.
Discussed with Weifang, and we would like to rotate pages to maximize paper usage for N-up.

The PDF document's orientation is determined by the majority pages' orientation.  The rest of pages will be rotated if there are different from the PDF doc's orientation.
How do we know that's what the user wants? Especially given the size of Chrome's user base and their diverse needs?

In the past, we have made product decisions where we thought we know what's best for the user. e.g. with duplex printing, we went for simplicity and only implemented long-side duplex. Then users file bugs and demand short-side duplex. ( bug 169120 , bug 842063)

Both Acrobat Reader and Mac Preview.app let the user choose. How about we only maximize the page usage when the user selects "Fit to page"?
When the source is PDF, chrome doesn't provide an option to change orientation.  Do we want to add that in the future?  If the answer is yes, we may defer this work.  If the answer is No, it's OK that we only maximize the page usage when the user selects "Fit to page".
I personally like the way how Acrobat Reader works, having a check box for auto-rotate pages within each sheet.  It also has a "Fit" checkbox for fit-to-page.

Sign in to add a comment