summaryrefslogtreecommitdiff
path: root/src/page.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-09-05 17:20:51 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-09-05 17:20:51 +0200
commit70e9dfc97f5a3c3bde70547a0a7d586d187f7245 (patch)
tree7bc1feeb2c3fe963185697c4c8eec4b717318938 /src/page.vala
parent3fbb9230e021593a66363b97e9da4fd3f3c64c62 (diff)
parentcceb61b6d24cf8e9f915247c2a09ead260c6834b (diff)
Merge branch 'release/debian/3.30.0-1'debian/3.30.0-1
Diffstat (limited to 'src/page.vala')
-rw-r--r--src/page.vala8
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;