After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 721819 - Evince fails to display some PostScript files correctly
Evince fails to display some PostScript files correctly
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: PS
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-08 19:21 UTC by Mark
Modified: 2018-05-22 15:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example PostScript file (bzip2-compressed) (10.75 KB, application/x-bzip)
2014-01-08 19:21 UTC, Mark
Details

Description Mark 2014-01-08 19:21:28 UTC
Created attachment 265741 [details]
Example PostScript file (bzip2-compressed)

I'm using Evince 3.10.0 in a Lubuntu 13.10 x86 VirtualBox VM.

Certain PostScript files fail to render correctly in Evince.

See the attached example document. It has three pages but when loaded into Evince only the last page is shown, upside-down.
At that point Evince reports:
(evince:2829): EvinceDocument-CRITICAL **: ev_document_get_n_pages: assertion 'EV_IS_DOCUMENT (document)' failed

If I then choose Rotate Left the displayed page disappears. Evince reports:
(evince:2829): Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'width > 0 && height > 0' failed
(evince:2829): Gtk-WARNING **: drawing failure for widget `EvView': invalid matrix (not invertible)
(evince:2829): Gtk-WARNING **: drawing failure for widget `EvView': invalid matrix (not invertible)

Clicking Rotate Left a second time causes the document to be displayed upside-down again.

If I convert this PostScript file to PDF (by doing ps2pdfwr filename.ps filename.pdf), Evince does display the PDF correctly.

I can provide more example documents if needed.
Comment 1 Christopher M. Penalver 2014-12-25 12:08:20 UTC
Confirmed downstream:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1266542

1) lsb_release -rd
Description:	Ubuntu Vivid Vervet (development branch)
Release:	15.04

2) apt-cache policy evince
evince:
  Installed: 3.14.1-0ubuntu1
  Candidate: 3.14.1-0ubuntu1
  Version table:
 *** 3.14.1-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status

3) What is expected to happen opening https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1266542/+attachment/4287301/+files/News.ps is all three pages are shown.

4) What happens instead is only the first page is visible.
Comment 2 Mark 2014-12-25 19:12:59 UTC
> 4) What happens instead is only the first page is visible.

Actually, only the last page (page 3 in this case) is shown.
Comment 3 GNOME Infrastructure Team 2018-05-22 15:27:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/423.