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"; }