Rotate landscape pages, during printing, by default in the viewer (enablePrintAutoRotate = true)

While this will perhaps not be perfect for *every* PDF document with mixed page orientation, based on the large number of bugs/issues seen over the years I'm however pretty convinced that it'll be an overall improvement in a majority of cases.

In order to improve things further, we'd probably need Firefox to support e.g. `@page` such that the viewer can provide better information to the print engine.
This commit is contained in:
Jonas Jenwald 2021-03-19 12:27:23 +01:00
parent 1de466896d
commit 30c06849d8
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@
"title": "Automatically rotate printed pages",
"description": "When enabled, landscape pages are rotated when printed.",
"type": "boolean",
"default": false
"default": true
},
"scrollModeOnLoad": {
"title": "Scroll mode on load",

View File

@ -62,7 +62,7 @@ const defaultOptions = {
},
enablePrintAutoRotate: {
/** @type {boolean} */
value: false,
value: true,
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
enableScripting: {