summaryrefslogtreecommitdiff
blob: 3f5d874cb162295e7d2c258e190984ed5d909602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Naur tetex-src-3.0.orig/texk/tetex/epstopdf tetex-src-3.0/texk/tetex/epstopdf
--- tetex-src-3.0.orig/texk/tetex/epstopdf	2007-11-30 01:20:28.000000000 +0900
+++ tetex-src-3.0/texk/tetex/epstopdf	2007-11-30 01:32:36.000000000 +0900
@@ -208,7 +208,8 @@
 ### open output file
 if ($::opt_gs) {
   my $pipe = "$GS -q -sDEVICE=pdfwrite $GSOPTS " .
-          "-sOutputFile=$OutputFilename $GSNOEMBED - -c quit";
+      "-dAutoRotatePages=/None " .
+      "\"-sOutputFile=$OutputFilename\" $GSNOEMBED - -c quit";
   debug "Ghostscript pipe:", $pipe;
   open(OUT,"|$pipe") or error "Cannot open Ghostscript for piped input";
 }