Xfig fails to generate EPS preview
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfig (Debian) |
Fix Released
|
Unknown
|
|||
xfig (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ordinarily, an EPS object would appear in xfig via a preview. After upgrading to Kubuntu 16.10, EPS objects appear as black or empty rectangles with the error message: "EPS object read OK, but no preview bitmap found/generated"
It is possible to view the EPS files with GV. The same problem exists for PDF objects, and including a colour TIFF preview on export leads to "unknown image format" on import. I have not checked whether similar problems exist when importing other file types.
When trying to put together a minimal example (make a very simple EPS in xfig, import it), I found that "Shrink to orig" put one coordinate at -4772184.8844, so there may also be an issue interpreting bounding boxes in some cases. I haven't included an example as I realized it's trivial to do (draw a circle, export to EPS/PDF, start a new file, import EPS/PDF), but let me know if there's anything I can do to help.
Description: Ubuntu 16.10
Release: 16.10
xfig:
Installed: 1:3.2.6-1
Candidate: 1:3.2.6-1
Version table:
*** 1:3.2.6-1 500
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: xfig 1:3.2.6-1
ProcVersionSign
Uname: Linux 4.8.0-26-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Nov 1 10:57:47 2016
InstallationDate: Installed on 2015-11-26 (340 days ago)
InstallationMedia: Kubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: xfig
UpgradeStatus: Upgraded to yakkety on 2016-11-01 (0 days ago)
Changed in xfig (Debian): | |
status: | Unknown → Fix Released |
Changed in xfig (Ubuntu): | |
status: | New → Fix Committed |
I should note a couple things:
For an existing file with rather complex EPS files from Mathematica: black rectangle, bounding box is read just fine.
For a circle drawn in xfig, imported in EPS or PDF: empty rectangle, bounding box doesn't work (present in EPS header)
Importing a second copy of an EPS file that's already present and works (first case): bounding box fails on the newly added EPS only.