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 729881 - When printing a pdf file, pictures are replaced by black boxes.
When printing a pdf file, pictures are replaced by black boxes.
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: printing
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on: 711761
Blocks:
 
 
Reported: 2014-05-09 14:46 UTC by jf.peyridieu
Modified: 2018-05-15 17:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
PDF Test case (1.94 MB, application/pdf)
2016-09-30 12:28 UTC, Germán Poo-Caamaño
Details
Same PDF test case but printed using option -level3 (1.20 MB, application/pdf)
2016-09-30 12:31 UTC, Germán Poo-Caamaño
Details

Description jf.peyridieu 2014-05-09 14:46:24 UTC
The document I have used is this one : http://www.boardgamegeek.com/file/download/oln9rmi0yz/Helios_Rules_%28English_translation%29_v3.pdf

I downloaded the doc, then print it with cups. The most part of the pictures in the doc where printed in black.

I have open the file with okular and print it fine. So I guess the problem is coming from evince.
Comment 1 José Aliste 2014-05-09 16:03:44 UTC
which version of poppler are you using? If you are using poppler 0.26, there is a related bug, will be fixed in 0.26.1
Comment 2 jf.peyridieu 2014-05-09 16:29:00 UTC
dpkg -l poppler*
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                   Version         Architecture    Description
+++-=====================-===============-===============-================================================
ii  poppler-data          0.4.6-5         all             encoding data
for the poppler PDF rendering libr
ii  poppler-utils         0.24.5-3        amd64           PDF utilities
(based on Poppler)

Does the bug already exist in the 0.24 version ?
Comment 3 Germán Poo-Caamaño 2014-05-09 17:05:55 UTC
The link to the document requires to register an account. That makes
hard to triage the issue.

If the document has Type3 fonts, the issue might be
https://bugs.freedesktop.org/show_bug.cgi?id=39601
Comment 4 jf.peyridieu 2014-05-09 17:41:13 UTC
I don't know how to check the presence of Type3 fonts. In the document properties all fonts are described as TrueTrype.

I have put the doc on my website, so you can get it : http://bdml.free.fr/Helios_Rules_%28English_translation%29_v3.pdf

Regards,
JF Peyridieu
Comment 5 Germán Poo-Caamaño 2014-05-09 18:51:26 UTC
(In reply to comment #4)
> I don't know how to check the presence of Type3 fonts. In the document
> properties all fonts are described as TrueTrype.

It should say so in the properties dialog. So, it might be a
different bug.

> I have put the doc on my website, so you can get it :
> http://bdml.free.fr/Helios_Rules_%28English_translation%29_v3.pdf

Thanks, I am downloading it right now.
Comment 6 Germán Poo-Caamaño 2014-05-09 21:24:22 UTC
I can reproduce the issue with poppler master from today (d2892cd893).

José, do you have a link at hand in poppler's bugzilla?
Comment 7 Germán Poo-Caamaño 2016-09-30 12:28:48 UTC
Created attachment 336665 [details]
PDF Test case

Page 2 of the document linked. It is enough as a test case and it fits within the limits of Bugzilla.
Comment 8 Germán Poo-Caamaño 2016-09-30 12:31:17 UTC
Created attachment 336666 [details]
Same PDF test case but printed using option -level3

This PDF is the output of:

$ pdftocairo -pdf -level3 foo.pdf foo-level3.pdf

I have not checked how does Evince build the preview, but I guess it is something similar because the output looks alike.
Comment 9 Jason Crain 2018-03-27 14:16:11 UTC
The original problem, where these tiles are rendered as black boxes, was fixed in cairo. The current version of cairo, though, is getting the colors of the background image wrong - https://bugs.freedesktop.org/show_bug.cgi?id=105294. Closing because this is a bug in cairo, not evince.