mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
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:
parent
1de466896d
commit
30c06849d8
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ const defaultOptions = {
|
|||
},
|
||||
enablePrintAutoRotate: {
|
||||
/** @type {boolean} */
|
||||
value: false,
|
||||
value: true,
|
||||
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
|
||||
},
|
||||
enableScripting: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue