GNOME Bugzilla – Bug 729881
When printing a pdf file, pictures are replaced by black boxes.
Last modified: 2018-05-15 17:19:35 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.
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
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 ?
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
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
(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.
I can reproduce the issue with poppler master from today (d2892cd893). José, do you have a link at hand in poppler's bugzilla?
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.
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.
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.