[Bug 1348384] Re: evince and okular do not render eps files correctly resulting in a black background

Jeremy Bicha jbicha at linux.com
Wed Dec 7 20:55:00 UTC 2016


Till, I'm taking care of this bug. Thank you!

** Description changed:

- Several eps files, which previously rendered correctly, are not rendered
- correctly by evince and okular.  It looks as though something is wrong
- with the "transparency" setting, since most of the incorrectly-rendered
- files have a black background, but the figure can somewhat be made out
- on top of hte black background.  The PDF files I have tested are NOT
- affected.  EPS files that were previously viewable correctly ARE
- affected.
+ Impact
+ ======
+ This Ubuntu 14.04 SRU caused a regression where some .eps files have a black background that makes it almost impossible to see the original content.
+ 
+ https://launchpad.net/ubuntu/+source/libspectre/0.2.7-2ubuntu1.1
+ 
+ This was fixed in Ubuntu 15.04 and newer releases but was not fixed in
+ 14.04 until now.
+ 
+ Test Case
+ =========
+ Use Ubuntu's default eps viewer (evince) to open these two test files.
+ 
+ https://bugs.launchpad.net/ubuntu/+source/libspectre/+bug/1348384/+attachment/4171120/+files/countrate.eps
+ 
+ https://bugs.launchpad.net/ubuntu/+source/libspectre/+bug/1242678/+attachment/3886169/+files/test.eps
+ 
+ Rotate test.eps 4 times to ensure that the file still displays correctly
+ when rotated. countrate.eps should not have a black background.
+ 
+ Other Info
+ ==========
+ Instead of using the fix from 15.04, 16.04 and 16.10, I chose to use the upstream's version of fix-document-rotation.patch included in 0.2.8 and in 17.04. (fix-document-rotation.patch was the only change made in the original SRU)
+ 
+ Regression Potential
+ ====================
+ Low. This fix is now in upstream's 0.2.8 and is in Debian and Ubuntu 17.04.
+ 
+ By the way, the 17.04 fix was briefly broken by a ghostscript security
+ fix but the 16.04/16.10 fix was not affected. For more details about
+ that, see bug 1647917.
+ 
+ Original Bug Report
+ ===================
+ Several eps files, which previously rendered correctly, are not rendered correctly by evince and okular.  It looks as though something is wrong with the "transparency" setting, since most of the incorrectly-rendered files have a black background, but the figure can somewhat be made out on top of hte black background.  The PDF files I have tested are NOT affected.  EPS files that were previously viewable correctly ARE affected.
  
  Thank you for your time.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: evince 3.10.3-0ubuntu10.1
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Jul 24 16:54:06 2014
  ProcEnviron:
-  LANGUAGE=en_US
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: evince
  UpgradeStatus: Upgraded to trusty on 2014-06-03 (51 days ago)

** Changed in: libspectre (Ubuntu Trusty)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1348384

Title:
  evince and okular do not render eps files correctly resulting in a
  black background

Status in libspectre package in Ubuntu:
  Fix Released
Status in libspectre source package in Trusty:
  In Progress

Bug description:
  Impact
  ======
  This Ubuntu 14.04 SRU caused a regression where some .eps files have a black background that makes it almost impossible to see the original content.

  https://launchpad.net/ubuntu/+source/libspectre/0.2.7-2ubuntu1.1

  This was fixed in Ubuntu 15.04 and newer releases but was not fixed in
  14.04 until now.

  Test Case
  =========
  Use Ubuntu's default eps viewer (evince) to open these two test files.

  https://bugs.launchpad.net/ubuntu/+source/libspectre/+bug/1348384/+attachment/4171120/+files/countrate.eps

  https://bugs.launchpad.net/ubuntu/+source/libspectre/+bug/1242678/+attachment/3886169/+files/test.eps

  Rotate test.eps 4 times to ensure that the file still displays
  correctly when rotated. countrate.eps should not have a black
  background.

  Other Info
  ==========
  Instead of using the fix from 15.04, 16.04 and 16.10, I chose to use the upstream's version of fix-document-rotation.patch included in 0.2.8 and in 17.04. (fix-document-rotation.patch was the only change made in the original SRU)

  https://cgit.freedesktop.org/libspectre/commit/?id=38bb113d

  Regression Potential
  ====================
  Low. This fix is now in upstream's 0.2.8 and is in Debian and Ubuntu 17.04.

  By the way, the 17.04 fix was briefly broken by a ghostscript security
  fix but the 16.04/16.10 fix was not affected. For more details about
  that, see bug 1647917.

  Original Bug Report
  ===================
  Several eps files, which previously rendered correctly, are not rendered correctly by evince and okular.  It looks as though something is wrong with the "transparency" setting, since most of the incorrectly-rendered files have a black background, but the figure can somewhat be made out on top of hte black background.  The PDF files I have tested are NOT affected.  EPS files that were previously viewable correctly ARE affected.

  Thank you for your time.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: evince 3.10.3-0ubuntu10.1
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Jul 24 16:54:06 2014
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: evince
  UpgradeStatus: Upgraded to trusty on 2014-06-03 (51 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libspectre/+bug/1348384/+subscriptions



More information about the Ubuntu-sponsors mailing list