2010-09-23 10:57:49 +00:00
|
|
|
diff -up ghostscript-9.00/lib/dvipdf.scripts ghostscript-9.00/lib/dvipdf
|
|
|
|
--- ghostscript-9.00/lib/dvipdf.scripts 2010-06-03 01:32:07.000000000 +0100
|
|
|
|
+++ ghostscript-9.00/lib/dvipdf 2010-09-23 09:56:35.592796899 +0100
|
2009-02-04 13:11:11 +00:00
|
|
|
@@ -44,4 +44,4 @@ fi
|
|
|
|
|
|
|
|
# We have to include the options twice because -I only takes effect if it
|
|
|
|
# appears before other options.
|
2010-09-23 10:57:49 +00:00
|
|
|
-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 -R -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -
|
|
|
|
diff -up ghostscript-9.00/lib/pv.sh.scripts ghostscript-9.00/lib/pv.sh
|
|
|
|
--- ghostscript-9.00/lib/pv.sh.scripts 2010-06-03 01:32:07.000000000 +0100
|
|
|
|
+++ ghostscript-9.00/lib/pv.sh 2010-09-23 09:56:59.512796516 +0100
|
2009-02-04 13:11:11 +00:00
|
|
|
@@ -31,7 +31,7 @@ fi
|
2007-07-11 11:43:45 +00:00
|
|
|
GS_EXECUTABLE=gs
|
|
|
|
|
2005-06-03 16:04:52 +00:00
|
|
|
TEMPDIR=.
|
|
|
|
-PAGE=$1
|
|
|
|
+PAGE="$1"
|
|
|
|
shift
|
2006-11-16 17:35:44 +00:00
|
|
|
FILE="$1"
|
2005-06-03 16:04:52 +00:00
|
|
|
shift
|
2009-02-04 13:11:11 +00:00
|
|
|
@@ -44,7 +44,7 @@ else
|
2006-11-16 17:35:44 +00:00
|
|
|
tmpfile="$TEMPDIR/$FILE.$$.pv"
|
|
|
|
fi
|
2007-07-11 11:43:45 +00:00
|
|
|
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
|
2010-09-23 10:57:49 +00:00
|
|
|
$GS_EXECUTABLE -P- -dSAFER $tmpfile
|
2005-06-03 16:04:52 +00:00
|
|
|
exit 0
|