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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1348384

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to