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 562500 - Some pictures in PDF document are not printed
Some pictures in PDF document are not printed
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: printing
2.24.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 563877 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-27 21:44 UTC by Jean-Eric Duret
Modified: 2008-12-12 16:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Little sample pdf (84.36 KB, application/pdf)
2008-12-10 07:32 UTC, Achim Frase
  Details
Incomplete libcairo patch (1.67 KB, patch)
2008-12-11 18:37 UTC, Oxmosys
none Details | Review

Description Jean-Eric Duret 2008-11-27 21:44:15 UTC
Some pictures in PDF documents are not printed by evince.
It also doesn't show up in the print preview.
Evince displays it fine, and Adobe Reader prints it fine.

Example with this document :
http://www.framabook.org/docs/ubuntu/framabook2_ubuntu-8-10_v5_creative-commons-by-sa.pdf
Fig. 4.3 page 71 (93 / 351) is not printed. Some others little pictures or logos are printed, but screenshots not.


OS : Ubuntu 8.10 Intrepid
Comment 1 Carlos Garcia Campos 2008-11-29 11:27:51 UTC
It works for me. It's probably a cairo bugs that has been recently fixed. Could you confirm it works after upgrading libcairo, please?

Thanks. 
Comment 2 Jean-Eric Duret 2008-11-30 14:29:04 UTC
I don't know how to upgrade libcairo on Ubuntu
Comment 3 Amir Hedayaty 2008-12-08 04:12:14 UTC
I have the same problem on Fedora, some images maybe the ones which were png originally do not get printed! Even in the print to ps version, but they work in print to pdf.

Here are my cairo and evince versions:
cairo-1.8.0-1.fc10.x86_64
evince-2.24.2-1.fc10.x86_64

My system is almost up2date! 
Comment 4 Achim Frase 2008-12-10 07:26:03 UTC
*** Bug 563877 has been marked as a duplicate of this bug. ***
Comment 5 Achim Frase 2008-12-10 07:32:48 UTC
Created attachment 124330 [details]
Little sample pdf

I have attached a little sample pdf. The link to the pdf in the initial report is way to large for some people, like me.

Regards
Achim
Comment 6 Oxmosys 2008-12-10 17:49:17 UTC
I confirm that installing libcairo 1.8.4 fixes the bug for me. I was able to print two of the example documents without any picture missing in the final print.
Comment 7 Amir Hedayaty 2008-12-10 21:10:52 UTC
The last version of cairo on fedora repositories is 1.8.0 even on the koji. Now, how should we ask for new version? Raise another bug on cairo or ask someone like behdad or just wait?!
Comment 8 Oxmosys 2008-12-11 18:36:52 UTC
This bug has been fixed in libcairo trunk by this commit :

3c18d95b293eddaa25232bc06398c78bc8043cb4
Compute device_transform_inverse.

However, patching 1.8.0 libcairo with the patch from this commit is not enough, that probably means that this is only a part of the fix and that another commit holds the missing part of the puzzle. I wonder how to find the fix at this point. I attached current incomplete patch if someone want to take a look.

Also, since this is not a evince bug, developers might want to close it.
Comment 9 Oxmosys 2008-12-11 18:37:42 UTC
Created attachment 124444 [details] [review]
Incomplete libcairo patch
Comment 10 Oxmosys 2008-12-12 07:34:08 UTC
I was wrong, this patch should be a complete fix over 1.8.0 libcairo2 for this problem.