X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fautohandler;h=8096e66a61ba23b41181904fab5b596c5a2a5405;hp=f69ef55a53d92529c3a68f29d673e4238504d2ed;hb=29010a75143814a91b4f5200454bea879280e7c1;hpb=764f11c76036161975282b87c4cc4298be5d1088 diff --git a/yarrg/web/autohandler b/yarrg/web/autohandler index f69ef55..8096e66 100644 --- a/yarrg/web/autohandler +++ b/yarrg/web/autohandler @@ -42,7 +42,8 @@ if ($printable =~ m/^pdf|^ps/) { my $output; my $got= $m->call_self(\$output); if ($got) { - my @htargs= qw(htmldoc --continuous --gray --size 210x279mm); + my @htargs= qw(htmldoc --continuous --gray --size 210x279mm + --left 1cm --right 1cm); $printable =~ m/^[a-z]+/; push @htargs, '-t',$&; if ($printable =~ m/2$/) { @@ -93,5 +94,11 @@ $r->content_type('text/html; charset=UTF-8'); which contains mostly contributions from YARRG users and is not covered by the AGPL. --> - + % $m->call_next();