1 |
diff -Naur ghostscript-9.00/lib/dvipdf ghostscript-9.00.oden/lib/dvipdf |
diff -up ghostscript-9.00/lib/dvipdf.scripts ghostscript-9.00/lib/dvipdf |
2 |
--- ghostscript-9.00/lib/dvipdf 2010-06-03 02:32:07.000000000 +0200 |
--- ghostscript-9.00/lib/dvipdf.scripts 2010-06-03 01:32:07.000000000 +0100 |
3 |
+++ ghostscript-9.00.oden/lib/dvipdf 2010-09-24 18:08:02.863720722 +0200 |
+++ ghostscript-9.00/lib/dvipdf 2010-09-23 09:56:35.592796899 +0100 |
4 |
@@ -44,4 +44,4 @@ |
@@ -44,4 +44,4 @@ fi |
5 |
|
|
6 |
# We have to include the options twice because -I only takes effect if it |
# We have to include the options twice because -I only takes effect if it |
7 |
# appears before other options. |
# appears before other options. |
8 |
-exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - |
-exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - |
9 |
+exec dvips -R -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - |
+exec dvips -R -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - |
10 |
diff -Naur ghostscript-9.00/lib/pv.sh ghostscript-9.00.oden/lib/pv.sh |
|
|
--- ghostscript-9.00/lib/pv.sh 2010-06-03 02:32:07.000000000 +0200 |
|
|
+++ ghostscript-9.00.oden/lib/pv.sh 2010-09-24 18:10:20.064658905 +0200 |
|
|
@@ -31,7 +31,7 @@ |
|
|
GS_EXECUTABLE=gs |
|
|
|
|
|
TEMPDIR=. |
|
|
-PAGE=$1 |
|
|
+PAGE="$1" |
|
|
shift |
|
|
FILE="$1" |
|
|
shift |
|
|
@@ -44,7 +44,7 @@ |
|
|
tmpfile="$TEMPDIR/$FILE.$$.pv" |
|
|
fi |
|
|
trap "rm -rf $tmpfile" 0 1 2 15 |
|
|
-#dvips -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile |
|
|
-dvips -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile |
|
|
+#dvips -R -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile |
|
|
+dvips -R -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile |
|
|
$GS_EXECUTABLE -P- -dSAFER $tmpfile |
|
|
exit 0 |
|