[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#199511: tetex-bin: epstopdf is rotating the output by 90 degrees



On 01.07.03 Ajay Shah (ajayshah@mayin.org) wrote:

Hi,

> I attach a .eps file, and the .pdf file that's produced by running
> it through epstopdf. The .eps file is fine. The .pdf file gets
> rotated by 90 degrees. I found this behaviour with both xpdf and
> with acroread.
> 
Try the attached patch on your epstopdf. The old version of woody
worked fine. A diff of both versions shows to miss an option for gs
in the new version. Please tell us your results. In the meantime I'll
google a little bit, why that option has been kicked out.

H. 
-- 
sigmentation fault
--- epstopdf	Sat Jun 21 00:00:00 2003
+++ epstopdf	Mon Dec 16 14:58:27 2002
@@ -194,6 +182,7 @@
 ### open output file
 if ($::opt_gs) {
   my $pipe = "$GS -q -sDEVICE=pdfwrite $GSOPTS " .
+          "-dAutoRotatePages=/None " .
           "-sOutputFile=$OutputFilename - -c quit";
   debug "Ghostscript pipe:", $pipe;
   open(OUT,"|$pipe") or error "Cannot open Ghostscript for piped input";

Reply to: