File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
* ` --version ` option.
6
6
* Added ` --fonts ` option for registering additional fonts. [ #16 ] ( https://github.com/Zverik/Nik4/issues/16 )
7
7
* Fixed ` --center ` with ` --scale ` error. [ #18 ] ( https://github.com/Zverik/Nik4/issues/18 )
8
+ * Swapped sizes 4A0 and 2A0. [ #17 ] ( https://github.com/Zverik/Nik4/issues/17 )
8
9
9
10
## 1.5, 7.12.2014
10
11
Original file line number Diff line number Diff line change @@ -132,9 +132,9 @@ def get_paper_size(name):
132
132
if m :
133
133
return [math .floor (1000 / 2 ** ((int (m .group (1 )) - 1 ) / 2.0 ) + 0.2 ), math .floor (1000 / 2 ** (int (m .group (1 )) / 2.0 ) + 0.2 )]
134
134
# German extensions
135
- if name == '2a0' :
136
- return [2378 , 1682 ]
137
135
if name == '4a0' :
136
+ return [2378 , 1682 ]
137
+ if name == '2a0' :
138
138
return [1682 , 1189 ]
139
139
# US Legal
140
140
if re .match (r'^leg' , name ):
You can’t perform that action at this time.
0 commit comments