Xfig fails to generate EPS preview

Bug #1638163 reported by Darren Peets
6
This bug affects 1 person
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://archive.ubuntu.com/ubuntu yakkety/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: xfig 1:3.2.6-1
ProcVersionSignature: Ubuntu 4.8.0-26.28-generic 4.8.0
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)

Revision history for this message
Darren Peets (dpeets) wrote :
Revision history for this message
Darren Peets (dpeets) wrote :

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.

Revision history for this message
Roland Rosenfeld (roland) wrote :

Fixed in Debian package version 3.2.6-2.
Also fixed in upstream version 3.2.6a.

no longer affects: transfig
Changed in xfig (Debian):
status: Unknown → Fix Released
Revision history for this message
Darren Peets (dpeets) wrote :

I can confirm that it's fixed in the 3.2.6a-1 packages for Zesty.
Hopefully it will also show up in Yakkety-updates soon?

Changed in xfig (Ubuntu):
status: New → Fix Committed
Revision history for this message
Roland Rosenfeld (roland) wrote :

Fixed in 1:3.2.6-2 (available since bionic)

Changed in xfig (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.