Public bug reported:

Binary package hint: xfig

After an upgrade to Natty, xfig can no longer parse EPS files.  The
simplest test of this is to draw, for instance, a circle in xfig, export
to EPS (which works), then try to place it in an xfig file as a Picture
object.  I get the following error:

===============================================
Could not parse EPS file with ghostscript: $­û
ERROR from ghostscript:
Error: /invalidfileaccess in --run--
Operand stack:
   3   --nostringval--   (test.eps)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   
1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   1787   1   3   
%oparra
_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--   1910  
 3   3   %oparray_pop   --nostringval--
Dictionary stack:
   --dict:1159/1684(ro)(G)--   --dict:0/20(G)--   --dict:81/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 9.01: Unrecoverable error, exit code 1
EPS object read OK, but no preview bitmap found/generated
===============================================

Its final claim here is partially correct.  Although I can't see what
I'm doing, if I now export the file to EPS, the result looks exactly as
I would expect.  However, it doesn't seem to be correctly reading
bounding boxes -- if, when importing the EPS file, I ask xfig to expand
or shrink the Picture to its original h/w ratio, the second x coordinate
is set to (the first x coordinate - 4772185.8844).

GV and transfig seem to work just fine, so I'd have difficulty blaming
ghostscript.

Ubuntu 11.04
xfig 1:3.2.5.b-1.1ubuntu1
ghostscript 9.01~dfsg-1ubuntu5

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xfig 1:3.2.5.b-1.1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Wed May  4 17:51:58 2011
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: xfig
UpgradeStatus: Upgraded to natty on 2011-04-28 (5 days ago)

** Affects: xfig (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/777230

Title:
  xfig cannot display EPS graphics

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to