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 760863 - Evince does not render PDF document
Evince does not render PDF document
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: PDF
3.16.x
Other Linux
: Normal major
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-19 19:43 UTC by pierupoika
Modified: 2016-09-29 19:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
stderr output to the --gdk-debug run (53.89 KB, text/plain)
2016-01-19 19:43 UTC, pierupoika
Details

Description pierupoika 2016-01-19 19:43:22 UTC
Created attachment 319378 [details]
stderr output to the --gdk-debug run

Hi,

I have downloaded this document: http://www.europarl.europa.eu/RegData/etudes/STUD/2015/549034/EXPO_STU%282015%29549034_EN.pdf to my desktop and opened it in Evince. The *first* time document opens correctly. However, afterwards the document opens but all the pages appear blank except for the header. I can use the mouse to select blocks of content in the pages but, there is nothing visible. I thought that perhaps the document is corrupt for some reason but, that is not the case. For instance, i can view the document correctly via Firefox's built-in PDF viewer (PDFJS). I also ran Evince on that (downloaded) document with debug options (both GDK-DEBUG and GTK-DEBUG) and it appears that both output refers to some font issue:

--8<--8<--

font type 9 not handled
some font thing failed

--8<--8<--

I've attached the stderr output to the --gdk-debug run to this report.

I am running Ubuntu 15.10 in case this info is also important.

Thanks in advance for looking into the problem.
Comment 1 Germán Poo-Caamaño 2016-01-19 20:02:44 UTC
It renders the first page, but the other pages it seems to render only the lines and images, not the text (except the header).

Anyhow, the issue is in poppler (the library used by Evince to render PDF). Specifically, in the poppler-cairo backend.

It is possible to reproduce the issue with:
$ pdftocairo -png EXPO_STU(2015)549034_EN.pdf

However, the following works fine:
$ pdftoppm -png EXPO_STU(2015)549034_EN.pdf foo

Please, file a bug in Poppler bugzilla:
https://bugs.freedesktop.org/enter_bug.cgi?product=poppler
Comment 2 Germán Poo-Caamaño 2016-09-29 19:41:18 UTC
Already reported and fixed in freedesktop.