Debian Bug report logs - #503191
pdfwrite: AutoRotatePages=/None ignored, PDF rotate

version graph

Package: ghostscript; Maintainer for ghostscript is Debian Printing Team <debian-printing@lists.debian.org>; Source for ghostscript is src:ghostscript.

Reported by: martin f krafft <madduck@debian.org>

Date: Thu, 23 Oct 2008 10:33:02 UTC

Severity: normal

Tags: confirmed

Found in versions ghostscript/8.62.dfsg.1-3.2lenny0, ghostscript/8.62.dfsg.1-3.1, ghostscript/8.71~dfsg2-9

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) <mhatta@debian.org>:
Bug#503191; Package ghostscript. (Thu, 23 Oct 2008 10:33:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin f krafft <madduck@debian.org>:
New Bug report received and forwarded. Copy sent to Masayuki Hatta (mhatta) <mhatta@debian.org>. (Thu, 23 Oct 2008 10:33:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: martin f krafft <madduck@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pdfwrite: AutoRotatePages=/None ignored, PDF rotate
Date: Thu, 23 Oct 2008 12:31:07 +0200
[Message part 1 (text/plain, inline)]
Package: ghostscript
Version: 8.62.dfsg.1-3.1
Severity: normal
File: /usr/bin/gs

When I run

  gs -q -sDEVICE=pdfwrite -dAutoRotatePages=/None -sOutputFile='graphs/snowball-sampling.pdf' - -c quit < graphs/snowball-sampling.eps

on the attached file, the PDF is rotated 90 degrees, despite
-dAutoRotatePages=/None. This seems related to #131570 (see also
http://tolstoy.newcastle.edu.au/R/devel/03b/0795.html).

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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  gsfonts       1:8.11+urwcyr1.0.7~pre44-3 Fonts for the Ghostscript interpre
ii  libc6         2.7-15                     GNU C Library: Shared libraries
ii  libgs8        8.62.dfsg.1-3.1            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.1 The GPL Ghostscript PostScript/PDF
pn  hpijs                    <none>          (no description available)

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
[snowball-sampling.eps (application/postscript, attachment)]
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) <mhatta@debian.org>:
Bug#503191; Package ghostscript. (Sun, 01 Feb 2009 05:33:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Antos Andras <antos@szit.bme.hu>:
Extra info received and forwarded to list. Copy sent to Masayuki Hatta (mhatta) <mhatta@debian.org>. (Sun, 01 Feb 2009 05:33:05 GMT) Full text and rfc822 format available.

Message #10 received at 503191@bugs.debian.org (full text, mbox):

From: Antos Andras <antos@szit.bme.hu>
To: 503191@bugs.debian.org
Subject: /usr/bin/gs, epstopdf: Re: pdfwrite: AutoRotatePages=/None ignored, PDF rotate
Date: Sun, 1 Feb 2009 06:30:44 +0100 (CET)
[Message part 1 (text/plain, inline)]
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
[allocationwithPhases.eps (application/postscript, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#503191; Package ghostscript. (Mon, 07 Feb 2011 18:09:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bastien ROUCARIES <roucaries.bastien@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Mon, 07 Feb 2011 18:09:07 GMT) Full text and rfc822 format available.

Message #15 received at 503191@bugs.debian.org (full text, mbox):

From: Bastien ROUCARIES <roucaries.bastien@gmail.com>
To: 503191@bugs.debian.org, Debian bugs control server <control@bugs.debian.org>
Subject: [ghostscript]
Date: Mon, 7 Feb 2011 18:07:30 +0000
tags  503191 + confirmed
found 503191 8.71~dfsg2-9
thanks

Confirmed




Added tag(s) confirmed. Request was from Bastien ROUCARIES <roucaries.bastien@gmail.com> to control@bugs.debian.org. (Mon, 07 Feb 2011 18:09:08 GMT) Full text and rfc822 format available.

Bug Marked as found in versions ghostscript/8.71~dfsg2-9. Request was from Bastien ROUCARIES <roucaries.bastien@gmail.com> to control@bugs.debian.org. (Mon, 07 Feb 2011 18:09:08 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 06:23:07 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.