summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmat13
1 files changed, 6 insertions, 7 deletions
diff --git a/mat b/mat
index 509c269..642b110 100755
--- a/mat
+++ b/mat
@@ -269,13 +269,12 @@ sub print_label {
my $fontname = "/usr/share/fonts/truetype/freefont/FreeSans.ttf";
my $fontsize = 15;
- my $x_border = 35; # Obtained with papersize.sh
- my $y_border = 18;
- my $x_limit = 307;
- my $y_limit = 324;
- my $x_max = 307-35;
- my $y_max = 324-18;
- my $y_offset = 75;
+ my $x_border = 18; # Obtained with papersize.sh
+ my $y_border = 35;
+ my $x_limit = 324;
+ my $y_limit = 307;
+ my $x_max = $x_limit-$x_border;
+ my $y_max = $y_limit-$y_border;
my $qr_border = 4;