Skip to content

Commit

Permalink
Fix orientation of paper sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Morgan committed Feb 3, 2019
1 parent 449d13c commit ece427b
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions scanbro.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def __str__(self):
# ISO paper sizes:
'a0': Papersize(841, 1189),
'a1': Papersize(594, 841),
'a10': Papersize(26, 37),
'a2': Papersize(420, 594),
'a3': Papersize(297, 420),
'a4': Papersize(210, 297),
Expand All @@ -125,33 +124,34 @@ def __str__(self):
'a7': Papersize(74, 105),
'a8': Papersize(52, 74),
'a9': Papersize(37, 52),
'b0': Papersize(1414, 1000),
'b1': Papersize(1000, 707),
'b1+': Papersize(1020, 720),
'b10': Papersize(44, 31),
'b2': Papersize(707, 500),
'b2+': Papersize(720, 520),
'b3': Papersize(500, 353),
'b4': Papersize(353, 250),
'b5': Papersize(250, 176),
'b6': Papersize(176, 125),
'b7': Papersize(125, 88),
'b8': Papersize(88, 62),
'b9': Papersize(62, 44),
'c0': Papersize(1297, 917),
'c1': Papersize(917, 648),
'c10': Papersize(40, 28),
'c2': Papersize(648, 458),
'c3': Papersize(458, 324),
'c4': Papersize(324, 229),
'c5': Papersize(229, 162),
'c6': Papersize(162, 114),
'c7': Papersize(114, 81),
'c8': Papersize(81, 57),
'c9': Papersize(57, 40),
'a10': Papersize(26, 37),
'b0': Papersize(1000, 1414),
'b1': Papersize(707, 1000),
'b1+': Papersize(720, 1020),
'b10': Papersize(31, 44),
'b2': Papersize(500, 707),
'b2+': Papersize(520, 720),
'b3': Papersize(353, 500),
'b4': Papersize(250, 353),
'b5': Papersize(176, 250),
'b6': Papersize(125, 176),
'b7': Papersize(88, 125),
'b8': Papersize(62, 88),
'b9': Papersize(44, 62),
'c0': Papersize(917, 1297),
'c1': Papersize(648, 917),
'c10': Papersize(28, 40),
'c2': Papersize(458, 648),
'c3': Papersize(324, 458),
'c4': Papersize(229, 324),
'c5': Papersize(162, 229),
'c6': Papersize(114, 162),
'c7': Papersize(81, 114),
'c8': Papersize(57, 81),
'c9': Papersize(40, 57),

# North American paper sizes:
"ledger": Papersize(432, 279),
"ledger": Papersize(279, 432),
"legal": Papersize(216, 356),
"letter": Papersize(216, 279),
"ltr": Papersize(216, 279),
Expand Down

0 comments on commit ece427b

Please sign in to comment.