projects
/
Printer-EVOLIS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
365c90d
)
fix rendering size
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 15 Mar 2017 10:38:29 +0000
(11:38 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 15 Mar 2017 10:38:29 +0000
(11:38 +0100)
scripts/inkscape-render.pl
patch
|
blob
|
history
diff --git
a/scripts/inkscape-render.pl
b/scripts/inkscape-render.pl
index
f1236a3
..
3745678
100755
(executable)
--- a/
scripts/inkscape-render.pl
+++ b/
scripts/inkscape-render.pl
@@
-73,7
+73,7
@@
foreach my $pdf ( glob "$out*.pdf" ) {
my $pbm = $pdf;
$pbm =~ s/pdf$/pbm/;
warn "# rendering $pdf => $pbm using ghostscript\n";
- system "gs -dNOPAUSE -dBATCH -q -r300x300 -dDEVICEWIDTHPOINTS=243 -dDEVICEHEIGHTPOINTS=155 -sDEVICE=pbmraw -sOutputFile=$pbm -f $pdf";
+ system "gs -dNOPAUSE -dBATCH -q -r300x300 -dDEVICEWIDTHPOINTS=243 -dDEVICEHEIGHTPOINTS=155 -
dPDFFitPage -
sDEVICE=pbmraw -sOutputFile=$pbm -f $pdf";
}
system "pdftk $out.front.pdf $out.back.pdf cat output $out.duplex.pdf" if $ENV{DUPLEX};