mirror of
https://github.com/pasky/brmelect.git
synced 2025-06-07 17:44:54 +02:00
gen-ballot.pl: Wider ballot papers
This commit is contained in:
parent
dbff2fe1b0
commit
040013a9a2
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ use utf8;
|
||||||
|
|
||||||
our @paper = (842, 598); # A4 landscape, 72dpi
|
our @paper = (842, 598); # A4 landscape, 72dpi
|
||||||
our @margin = (18, 18);
|
our @margin = (18, 18);
|
||||||
our @ballot = (147, 36);
|
our @ballot = (187, 36);
|
||||||
our $filename = 'ballots.pdf';
|
our $filename = 'ballots.pdf';
|
||||||
|
|
||||||
our $fontface = 'Arial';
|
our $fontface = 'Arial';
|
||||||
|
@ -41,7 +41,7 @@ while (<>) {
|
||||||
push @names, $_;
|
push @names, $_;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ballot[1] += @names * ($linespacing[1] + $fontsize[1] + 5);
|
$ballot[1] += @names * ($linespacing[1] + $fontsize[1] + 9);
|
||||||
|
|
||||||
our $surface = Cairo::PdfSurface->create ($filename, @paper);
|
our $surface = Cairo::PdfSurface->create ($filename, @paper);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue