mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Change how landscape pages are rotated, for printing, with enablePrintAutoRotate = true
set
Currently landscape pages are rotated *clockwise*, which for most documents feel wrong since holding the printed pages at their *left* edge causes the landscape pages to be viewed "upside down". In general, since most documents are LTR ones, it feels more appropriate to instead rotate landscape pages *counterclockwise* for printing.
This commit is contained in:
parent
57e7557235
commit
3ce94a9f6d
1 changed files with 1 additions and 1 deletions
|
@ -1365,7 +1365,7 @@ class BaseViewer {
|
|||
return {
|
||||
width: size.height,
|
||||
height: size.width,
|
||||
rotation: (size.rotation + 90) % 360,
|
||||
rotation: (size.rotation - 90) % 360,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue