GNOME Bugzilla – Bug 680753
evince print function is corrupted
Last modified: 2012-08-01 05:18:42 UTC
I have originally reported on: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1030310 I copy the ticket content also here. On the launchpad ticket are several additional system properties attached. I only attach the affected document and a screenshot here. A stacktrace is not available. Launchpad entry:------------------------------------------ I have used evince for printing a pdf file. Printing is working, but unfortunally only corrupted, missordered output comes to the paper. To check that it is not cups by itself I have used the print preview function of evince. What evince print preview shows is the same corrupted output that I have also after printing on paper. So, it is a problem with evince by itself. Addtional: I attach a screenshot of the print preview of evince, whith the opended document in evince in background. I also attach the document which is affected by or causes the error. Steps to reproduce: 1.Open the attached document with evince 2.Use File -> print -> print preview and see the error rendered document in print preview view. 3.Close print preview. 4.Use the print button in the still open print dialog. 5.See that the paper print result is the same as in print preview. The reproduction procedure hits the error to 100%. The pdf rendering on the computer screen by evince is working proper with this document and shows by itself no corruption. It is only the printing rendering. ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: evince 3.5.4-0ubuntu1 ProcVersionSignature: Ubuntu 3.5.0-6.6-generic 3.5.0 Uname: Linux 3.5.0-6-generic x86_64 ApportVersion: 2.4-0ubuntu6 Architecture: amd64 Date: Sat Jul 28 15:29:54 2012 ExecutablePath: /usr/bin/evince-previewer InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120722) ProcEnviron: PATH=(custom, no username) LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: evince UpgradeStatus: No upgrade log present (probably fresh install)
Created attachment 219781 [details] screenshot
Created attachment 219782 [details] affected pdf document
I cant reproduce either on a fedora nor an ubuntu system. Which version of poppler do you have isntalled? What about the information on the fonts of the file? Which printer do you have??? If you print directly to pdf, does the same error occur?
...and which gtk+ version is this about?
Q:Which version of poppler do you have isntalled? poppler-data 0.4.5-8 libpoppler-glib8 0.20.2-2ubuntu2 libpoppler26 0.20.2-2ubuntu2 Q:What about the information on the fonts of the file? A: ? -> How can I find this out? Q:Which printer do you have??? A:Not important, because Edward Donovan (edward.donovan) can get the same on preview. We are both able to handle the file with success with okular(also printing) which gave a correct output. Beside this: It is an HP Office Jet Pro 8000. Comment:I cant reproduce either on a fedora nor an ubuntu system. Reply: It is on Quantal alpha3 daily upgraded system(amd64): http://cdimage.ubuntu.com/daily-live/current/ Q:If you print directly to pdf, does the same error occur? A:I have tried. Yes, the same error occure. I attach a screenshot.
Created attachment 219828 [details] the to pdf print
Q:...and which gtk+ version is this about? A: libgtk-3-0 3.5.8-0ubuntu2 libgtk-3-bin 3.5.8-0ubuntu2 libgtk-3-common 3.5.8-0ubuntu2
[Offtopic] I am willing to work on every bugreport I send. This is good style and often needed. Improving the value of a report I see also primary on the side on the reporter. But, I am a bit unhappy, when the question I get could be also answered by a quick following the link I gave(to launchpad). This is only given for one kind of questions I got here. That for the program version. Apport attaches automatically a complete list of dependences(of actual installed/used program version), which could be find in comment #1. It is called Dependences.txt. Normally I try to give the needed information before a question occures, but for example I have not known/thought of that poppler is important for evince. So, it would be nice when there would be (a little bit) more willingness to cross the border of bugtrackers. Just for intention. greetings melchiaros [Offtopic]
I guess the problem is that the file you provided uses the Times-Roman font, but does not embed this... So it seems the issue is font-config related. What is the result of fc-match Times-Roman on your machine?
On terminal: :~$ fc-match Times-Roman n021003l.pfb: "Nimbus Roman No9 L" "Regular"
I am lost, it is the same as here... Since you are using a very recent version of evince, could you check the font properties in the pdf file with evince (File->Properties and then font properties tab) and see which font is evince using?
Also, please attach the output.pdf file to the bug.
I see there a long list of fonts. There is a Times-Roman entry. Unfortunally I could not copy&paste from there,so I attach 3 screenshots which will show the complete list. And I attach the output.pdf.
Created attachment 219850 [details] fonts list part1
Created attachment 219851 [details] font list part2
Created attachment 219852 [details] fonst list part3
Created attachment 219853 [details] print in file as pdf
Done.
Thanks for all the information! I am currently clueless, because the output.pdf is obiously wrong, but I fail to see which part of the stack is producing the error, especially since I cannot reproduce my self. One thing, I haven't tried with latest cairo... I will try to see if maybe with this I can trigger the bug...
I finally can reproduce, it seems to be related to cairo, as I could not trigger this with cairo 1.10 and I can trigger it with cairo 1.12.
Ok, I retried, same version of evince (latest git) same version of poppler (latest git). With cairo 1.10.2, the printing is Ok, with cairo 1.12.2, printing is not Ok. This at least gives something where to look at.
Has been fixed in cairo: https://bugs.freedesktop.org/show_bug.cgi?id=52972
Thanks Adrian, I was hoping from a comment from you ;)