From feffc9fa14d9edbd4cd924de55020c311607a8ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 4 Sep 2018 18:18:10 +0200 Subject: New upstream version 3.30.0 --- src/page.vala | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/page.vala') 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; -- cgit v1.2.3