Comment 10 for bug 1348384

Revision history for this message
EdouardC (edouard-canot) wrote :

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