← Back to team overview

desktop-packages team mailing list archive

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

 

Hi all,

I'm happy to discover that this bug is registrated here. I tried many
times early in july to find some information on the web about this
problem, but I always failed.

In my case (ubuntu-14.04, 64 bits), I discovered and identified this bug
at the end of june.

It appears that it affects only the EPS files which doesn't contain the
'showpage' postscript command at the end of the file. Indeed, a work-
around of this bug is to add the 'showpage' command at the end of the
EPS file.

So, the good new is that a workaround exists and is pretty easy to do:
you can use any text editor to modify an EPS file!

Not all the EPS files are affected: for example the EPS files created
with the Matlab software already include a 'showpage' at the end, so
they are not affected by this bug.

It is worth noting that EPS files which doesn't contain the 'showpage' command at their end are valid. Don't answer that these EPS are not valid! The 'showpage' command is used to eject the page and it is mandatory in PS files, not EPS files. Please for example the discussion in:
   http://bugs.launchpad.net/inkscape/+bug/929463
which contain the following extract of the official Adobe documentation:
<quote>
Redefine showpage

    The showpage operator is permitted in EPS files because it is present in so
    many PostScript language files. Therefore, it is reasonable for an EPS file
    to use the showpage operator, although it is not necessary if the EPS file
    will only be imported into another document. The application importing the
    EPS file is responsible for redefining showpage. showpage may be redefined
    using the following code segment:

    /showpage { } def

</quote>

Cheers,
EC

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1348384

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

Status in “evince” package in Ubuntu:
  Confirmed
Status in “libspectre” package in Ubuntu:
  Confirmed

Bug description:
  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/evince/+bug/1348384/+subscriptions