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
@ -1365,7 +1365,7 @@ class BaseViewer {
|
||||
return {
|
||||
width: size.height,
|
||||
height: size.width,
|
||||
rotation: (size.rotation + 90) % 360,
|
||||
rotation: (size.rotation - 90) % 360,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user