xfig cannot display EPS graphics
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfig (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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:
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.
ghostscript 9.01~dfsg-1ubuntu5
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xfig 1:3.2.5.
ProcVersionSign
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)
Changed in xfig (Ubuntu): | |
status: | New → Confirmed |
Changed in xfig (Ubuntu): | |
status: | Confirmed → Fix Released |
I also see the same problem on an X86_64 system, both with new fig and eps files and with a set that I know worked perfectly on Maverick.