diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-09-04 20:33:17 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-09-04 20:33:17 +0200 |
commit | 46c7d1c8d370e549c23ad8425c2a0ab516f5d787 (patch) | |
tree | d2aafe2273d9c6c67d9138f5fb63bd53d125a21d /src/page.vala | |
parent | 92a79aacbf96307f4d31f0034f5058415cc34c5c (diff) | |
parent | e2ede7c4bc7accffd3d1526bf98121654e24bbae (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/page.vala')
-rw-r--r-- | src/page.vala | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/page.vala b/src/page.vala index 582aef8..13de4d2 100644 --- a/src/page.vala +++ b/src/page.vala @@ -86,7 +86,7 @@ public class Page public bool is_color { get { return n_channels > 1; } } /* Rotation of scanned data */ - private ScanDirection scan_direction_; + private ScanDirection scan_direction_ = ScanDirection.TOP_TO_BOTTOM; public ScanDirection scan_direction { get { return scan_direction_; } @@ -142,8 +142,6 @@ public class Page if (has_crop) crop_changed (); } - - default = ScanDirection.TOP_TO_BOTTOM; } /* True if the page has a crop set */ @@ -401,6 +399,10 @@ public class Page double w, h; switch (name) { + case "A3": + w = 11.7; + h = 16.5; + break; case "A4": w = 8.3; h = 11.7; |