Annotation of /trunk/ghostscript-gpl/patches/ghostscript-gpl-8.70-scripts.patch
Parent Directory | Revision Log
Revision 907 -
(hide annotations)
(download)
Mon Oct 26 18:29:14 2009 UTC (14 years, 11 months ago) by niro
File size: 1369 byte(s)
Mon Oct 26 18:29:14 2009 UTC (14 years, 11 months ago) by niro
File size: 1369 byte(s)
patchset for ghostscript-gpl
1 | niro | 907 | diff -up ghostscript-8.64/lib/dvipdf.scripts ghostscript-8.64/lib/dvipdf |
2 | --- ghostscript-8.64/lib/dvipdf.scripts 2009-01-10 22:11:18.000000000 +0000 | ||
3 | +++ ghostscript-8.64/lib/dvipdf 2009-02-04 11:32:31.000000000 +0000 | ||
4 | @@ -44,4 +44,4 @@ fi | ||
5 | |||
6 | # We have to include the options twice because -I only takes effect if it | ||
7 | # appears before other options. | ||
8 | -exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - | ||
9 | +exec dvips -R -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - | ||
10 | diff -up ghostscript-8.64/lib/pv.sh.scripts ghostscript-8.64/lib/pv.sh | ||
11 | --- ghostscript-8.64/lib/pv.sh.scripts 2007-07-05 11:41:52.000000000 +0100 | ||
12 | +++ ghostscript-8.64/lib/pv.sh 2009-02-04 11:31:32.000000000 +0000 | ||
13 | @@ -31,7 +31,7 @@ fi | ||
14 | GS_EXECUTABLE=gs | ||
15 | |||
16 | TEMPDIR=. | ||
17 | -PAGE=$1 | ||
18 | +PAGE="$1" | ||
19 | shift | ||
20 | FILE="$1" | ||
21 | shift | ||
22 | @@ -44,7 +44,7 @@ else | ||
23 | tmpfile="$TEMPDIR/$FILE.$$.pv" | ||
24 | fi | ||
25 | trap "rm -rf $tmpfile" 0 1 2 15 | ||
26 | -#dvips -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile | ||
27 | -dvips -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile | ||
28 | +#dvips -R -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile | ||
29 | +dvips -R -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile | ||
30 | $GS_EXECUTABLE $tmpfile | ||
31 | exit 0 |