Skip to content

Commit

Permalink
Fixed #17
Browse files Browse the repository at this point in the history
  • Loading branch information
Zverik committed May 16, 2015
1 parent b6e11d7 commit 3415338
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* `--version` option.
* Added `--fonts` option for registering additional fonts. [#16](https://github.com/Zverik/Nik4/issues/16)
* Fixed `--center` with `--scale` error. [#18](https://github.com/Zverik/Nik4/issues/18)
* Swapped sizes 4A0 and 2A0. [#17](https://github.com/Zverik/Nik4/issues/17)

## 1.5, 7.12.2014

Expand Down
4 changes: 2 additions & 2 deletions nik4.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ def get_paper_size(name):
if m:
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)]
# German extensions
if name == '2a0':
return [2378, 1682]
if name == '4a0':
return [2378, 1682]
if name == '2a0':
return [1682, 1189]
# US Legal
if re.match(r'^leg', name):
Expand Down

0 comments on commit 3415338

Please sign in to comment.