GNU bug report logs - #7064
lispintro eps files and some image viewers

Previous Next

Package: emacs;

Reported by: Michael Gilson <michael_gilson <at> hotmail.com>

Date: Sat, 18 Sep 2010 12:56:01 UTC

Severity: minor

Tags: moreinfo, notabug

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7064 in the body.
You can then email your comments to 7064 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7064; Package emacs. (Sat, 18 Sep 2010 12:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Gilson <michael_gilson <at> hotmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 18 Sep 2010 12:56:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Gilson <michael_gilson <at> hotmail.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: eps files in lispintro directory are mostly invalid
Date: Sat, 18 Sep 2010 02:49:33 -0700
[Message part 1 (text/plain, inline)]
I tried to read cons-1.eps and Ghostscript couldn't preview or load the file.  The same happens with every other eps in the directory, except for drawers.eps, which loads fine.

Directory:emacs-22.3-src (changelog modified 9/5/2008 9:12AM) 


In GNU Emacs 22.3.1 (i386-mingw-nt6.0.6002)
 of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 6.0.6002
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<help-echo> <escape> x <help-echo> r e p o r t - e 
m <tab> <kp-enter>

Recent messages:
("D:\\emacs\\emacs-22.3-bin-i386\\emacs-22.3\\bin\\emacs.exe")
Loading encoded-kb...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done


Michael Gilson [On the road to work each day                     Where the tardy drivers pray                     And the smog comes up like thunder                     Out of Burbank, 'cross the way.]



 		 	   		  
[Message part 2 (text/html, inline)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7064; Package emacs. (Sun, 19 Sep 2010 19:07:02 GMT) Full text and rfc822 format available.

Message #8 received at 7064 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Michael Gilson <michael_gilson <at> hotmail.com>
Cc: 7064 <at> debbugs.gnu.org
Subject: Re: bug#7064: eps files in lispintro directory are mostly invalid
Date: Sun, 19 Sep 2010 15:08:53 -0400
Michael Gilson wrote:

> I tried to read cons-1.eps and Ghostscript couldn't preview or load
> the file. The same happens with every other eps in the directory,
> except for drawers.eps, which loads fine.

The versions in the Emacs repository render fine for me on GNU/Linux,
using `gv 3.7.1', and it does not look like they have changed since
Emacs 22.

For all except drawers.eps, the bounding box seems not to be detected
correctly, leaving an A4 (for me) sized page with the image at the
top-left. Depending on your default GV zoom, you may be faced with an
apparently blank page at startup.

The difference seems to be caused by the missing "%!PS-Adobe-3.0 EPSF-3.0"
magic in the first line of every file except drawers.eps. If I add
this, the bounding box is correctly detected. Does it work for you?

There is a comment in all the files "Due to bugs in Transcript, the
'PS-Adobe-' stuff is omitted from line 1". I don't know what this
means. If it was just a bug with the program used to create these
images, I don't know why the author didn't just add that line by hand.


> In GNU Emacs 22.3.1 (i386-mingw-nt6.0.6002)
>  of 2008-09-06 on SOFT-MJASON




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7064; Package emacs. (Mon, 20 Sep 2010 15:50:03 GMT) Full text and rfc822 format available.

Message #11 received at 7064 <at> debbugs.gnu.org (full text, mbox):

From: Michael Gilson <michael_gilson <at> hotmail.com>
To: <rgm <at> gnu.org>
Subject: RE: bug#7064: eps files in lispintro directory are mostly invalid
Date: Mon, 20 Sep 2010 00:49:13 -0700
[Message part 1 (text/plain, inline)]
I am sorry to report that it is a little more complicated than the Magic you suggested.  Adding the magic solves the problem in the cons-1.eps file when loaded with Ghostscript.  I have been using GIMP to call Ghostscript, and that chain of programs works, so far as I have tested.

I have some other eps viewers (EPS Viewer and IrfanView) that still can't read the eps file, even with the corrected magic.  They seem to think that it is zero by zero size.

You have solved the bug, however.  Thanks.



Michael Gilson [On the road to work each day                     Where the tardy drivers pray                     And the smog comes up like thunder                     Out of Burbank, 'cross the way.]





> To: michael_gilson <at> hotmail.com
> CC: 7064 <at> debbugs.gnu.org
> Subject: Re: bug#7064: eps files in lispintro directory are mostly invalid
> From: rgm <at> gnu.org
> Date: Sun, 19 Sep 2010 15:08:53 -0400
> 
> Michael Gilson wrote:
> 
> > I tried to read cons-1.eps and Ghostscript couldn't preview or load
> > the file. The same happens with every other eps in the directory,
> > except for drawers.eps, which loads fine.
> 
> The versions in the Emacs repository render fine for me on GNU/Linux,
> using `gv 3.7.1', and it does not look like they have changed since
> Emacs 22.
> 
> For all except drawers.eps, the bounding box seems not to be detected
> correctly, leaving an A4 (for me) sized page with the image at the
> top-left. Depending on your default GV zoom, you may be faced with an
> apparently blank page at startup.
> 
> The difference seems to be caused by the missing "%!PS-Adobe-3.0 EPSF-3.0"
> magic in the first line of every file except drawers.eps. If I add
> this, the bounding box is correctly detected. Does it work for you?
> 
> There is a comment in all the files "Due to bugs in Transcript, the
> 'PS-Adobe-' stuff is omitted from line 1". I don't know what this
> means. If it was just a bug with the program used to create these
> images, I don't know why the author didn't just add that line by hand.
> 
> 
> > In GNU Emacs 22.3.1 (i386-mingw-nt6.0.6002)
> >  of 2008-09-06 on SOFT-MJASON
 		 	   		  
[Message part 2 (text/html, inline)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7064; Package emacs. (Mon, 20 Sep 2010 23:09:02 GMT) Full text and rfc822 format available.

Message #14 received at 7064 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Michael Gilson <michael_gilson <at> hotmail.com>
Cc: 7064 <at> debbugs.gnu.org
Subject: RE: bug#7064: eps files in lispintro directory are mostly invalid
Date: Mon, 20 Sep 2010 19:10:48 -0400
(Please keep 7064 <at> debbugs in any replies.)

Michael Gilson wrote (on Mon, 20 Sep 2010 at 00:49 -0700):

> Adding the magic solves the problem in the cons-1.eps file when
> loaded with Ghostscript. I have been using GIMP to call Ghostscript,
> and that chain of programs works, so far as I have tested.
> 
> I have some other eps viewers (EPS Viewer and IrfanView) that still
> can't read the eps file, even with the corrected magic. They seem to
> think that it is zero by zero size.

Sorry, don't know what the problem there might be. (Those programs
seem to be specific to MS Windows and will not run under Wine.)




Added tag(s) notabug. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 14 Jul 2011 14:13:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 7064 <at> debbugs.gnu.org and Michael Gilson <michael_gilson <at> hotmail.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 14 Jul 2011 14:13:01 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7064; Package emacs. (Thu, 14 Jul 2011 14:32:04 GMT) Full text and rfc822 format available.

Message #21 received at 7064 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 7064 <at> debbugs.gnu.org, Michael Gilson <michael_gilson <at> hotmail.com>
Subject: Re: bug#7064: eps files in lispintro directory are mostly invalid
Date: Thu, 14 Jul 2011 16:12:34 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> Sorry, don't know what the problem there might be. (Those programs
> seem to be specific to MS Windows and will not run under Wine.)

More information was requested 42 weeks ago, and doesn't seem to be
forthcoming.

Besides, it looks like a non-Emacs problem, so I'm closing this report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Aug 2011 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 312 days ago.

Previous Next


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