Skip to content

Commit

Permalink
Make landscape 270 again
Browse files Browse the repository at this point in the history
With exception of XPS document writer, 270 seems to be norm.
  • Loading branch information
tresf authored Mar 6, 2017
1 parent 72df7b8 commit 9d882c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qz/printer/PrintOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,8 @@ public int getMediaSizeUnits() {
public enum Orientation {
PORTRAIT(OrientationRequested.PORTRAIT, PageFormat.PORTRAIT, 0),
REVERSE_PORTRAIT(OrientationRequested.PORTRAIT, PageFormat.PORTRAIT, 180),
LANDSCAPE(OrientationRequested.LANDSCAPE, PageFormat.LANDSCAPE, 90),
REVERSE_LANDSCAPE(OrientationRequested.REVERSE_LANDSCAPE, PageFormat.REVERSE_LANDSCAPE, 270);
LANDSCAPE(OrientationRequested.LANDSCAPE, PageFormat.LANDSCAPE, 270),
REVERSE_LANDSCAPE(OrientationRequested.REVERSE_LANDSCAPE, PageFormat.REVERSE_LANDSCAPE, 90);

private final OrientationRequested asAttribute; //OrientationRequested const
private final int asFormat; //PageFormat const
Expand Down

0 comments on commit 9d882c8

Please sign in to comment.