Followup-For: Bug #503191
Package: ghostscript
Version: 8.62.dfsg.1-3.2lenny0
Tags: patch

Package: texlive-extra-utils
Version: 2007.dfsg.2-4

I also have .eps -> .pdf rotation problem. I have an .eps file (attached) that has a line
%%Orientation: Landscape
and which look correctly in gv 3.6.5.

Converting it by epstopdf (v2.9.5gw) from package texlive-extra-utils,
which now (since 2004/03/17 v2.9.1draft) does contain the -dAutoRotatePages=/None option
(despite of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=199511#30 ),
the resulting .pdf looks rotated in xpdf (or acroread) compared to .eps in gv.

Converting it by
$ gs -q -sDEVICE=pdfwrite -dAutoRotatePages=/None 
-sOutputFile='allocationwithPhases.pdf' - -c quit < fig/allocationwithPhases.eps
the resulting .pdf is rotated again.

Converting it by
$ gs -q -sDEVICE=pdfwrite -sOutputFile='allocationwithPhases.pdf' - -c quit < 
fig/allocationwithPhases.eps
the resulting .pdf is _not_ rotated.

Note that the Submitter's test snowball-sampling.eps file also has
%%Orientation: Landscape
line, and shows the same behavior as well, i.e., the.pdf is not rotated leaving out -dAutoRotatePages=/None .
So it is rotated not _despite_ -dAutoRotatePages=/None, but just _because of_
-dAutoRotatePages=/None. So AutoRotatePages=/None is not really ignored.
Moreover, perhaps, this time autorotation is just necessary for certain
(Landscape?) .eps files, and the bug is not in ghostscript but in epstopdf disabling it hardcoded. Maybe, this more sophisticated patch should be applied to epstopdf:
http://groups.google.com/group/de.comp.text.tex/browse_thread/thread/3d7249d17542b54b?hl=en&ie=UTF-8&q="Problem+mit+epstopdf";
 (Aug, 2002)

This problem seems to have a 7 years old story, at least. Other pages and debian bugs about this:
http://www.tug.org/pipermail/pdftex/2001-December/002063.html
#130734 (Jan 25, 2002)
#131570 (Jan 30, 2002)
#171406 (Dec, 2002)
#199511 (Jul, 2003)
http://tolstoy.newcastle.edu.au/R/devel/03b/0793.html (Oct, 2003)

Andras Antos

######################################
 List of ls-R files

-rw-r--r-- 1 root root 863 jan 28 01.34 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 79 dec 30 07.30 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 dec 30 07.05 /usr/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 dec 30 07.05 /usr/share/texmf-texlive/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 dec 30 07.05 /usr/share/texmf-texlive/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVE
######################################
 Config files
lrwxrwxrwx 1 root root 20 dec 30 07.05 /usr/share/texmf/web2c/texmf.cnf -> 
/etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 3895 jan 28 01.34 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 7141 jan 28 01.34 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 4757 jan 28 01.34 
/var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
?esen 4
-rw-r--r-- 1 root root 283 2007 febr 26 mktex.cnf
######################################
 md5sums of texmf.d
42c20d7e8bd343542772b5a145bf8ad8  /etc/texmf/texmf.d/05TeXMF.cnf
5f7f6652cc8b8071c9e4ea6ba9e9f0a1  /etc/texmf/texmf.d/15Plain.cnf
f68e5add6afd6585b982f2f78e2e6a92  /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c  /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1  /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068  /etc/texmf/texmf.d/75DviPS.cnf
37329819f1109e8a457e64b8b58fecdb  /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c  /etc/texmf/texmf.d/90TeXDoc.cnf
30f4f13357c2761ed01a6a15f28725a5  /etc/texmf/texmf.d/95NonPath.cnf

-- System Information:
Debian Release: 5.0
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=hu_HU.ISO-8859-2, LC_CTYPE=hu_HU.ISO-8859-2 (charmap=ISO-8859-2) 
(ignored: LC_ALL set to hu_HU)
Shell: /bin/sh linked to /bin/bash

Versions of packages ghostscript depends on:
ii  debconf [debc 1.5.24                     Debian configuration management sy
ii  debianutils   2.30                       Miscellaneous utilities specific t
ii  defoma        0.11.10-0.2                Debian Font Manager -- automatic f
ii  gs-common     8.62.dfsg.1-3.2lenny0      Dummy package depending on ghostsc
ii  gsfonts       1:8.11+urwcyr1.0.7~pre44-3 Fonts for the Ghostscript interpre
ii  libc6         2.7-18                     GNU C Library: Shared libraries
ii  libgs8        8.62.dfsg.1-3.2lenny0      The Ghostscript PostScript/PDF int

Versions of packages ghostscript recommends:
ii  psfontmgr                    0.11.10-0.2 PostScript font manager -- part of

Versions of packages ghostscript suggests:
ii  ghostscript-x      8.62.dfsg.1-3.2lenny0 The GPL Ghostscript PostScript/PDF
ii  hpijs              2.8.6.b-3             HP Linux Printing and Imaging - gs

Versions of packages texlive-extra-utils depends on:
ii  libc6                      2.7-18        GNU C Library: Shared libraries
ii libkpathsea4 2007.dfsg.2-4 TeX Live: path search library for ii libx11-6 2:1.1.5-2 X11 client-side library
ii  texlive-base               2007.dfsg.1-4 TeX Live: Essential programs and f
ii  texlive-common             2007.dfsg.1-4 TeX Live: Base component

Versions of packages texlive-extra-utils recommends:
ii  ghostscript        8.62.dfsg.1-3.2lenny0 The GPL Ghostscript PostScript/PDF
pn  lacheck            <none>                (no description available)

Versions of packages texlive-extra-utils suggests:
pn  dvi2tty                       <none>     (no description available)
pn  dvidvi                        <none>     (no description available)

Versions of packages tex-common depends on:
ii  debconf                       1.5.24     Debian configuration management sy
ii  ucf                           3.0011     Update Configuration File: preserv

Versions of packages texlive-extra-utils is related to:
pn  tetex-base                    <none>     (no description available)
pn  tetex-bin                     <none>     (no description available)
pn  tetex-extra                   <none>     (no description available)
ii  tex-common                    1.11.3     common infrastructure for building

-- debconf information excluded

Attachment: allocationwithPhases.eps
Description: PostScript document

Reply via email to