projects
/
Printer-EVOLIS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix rendering size
[Printer-EVOLIS.git]
/
scripts
/
inkscape-render.pl
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";
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};
}
system "pdftk $out.front.pdf $out.back.pdf cat output $out.duplex.pdf" if $ENV{DUPLEX};