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 641704 - Fails to print PDF document
Fails to print PDF document
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: printing
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-07 08:56 UTC by Michal Čihař
Modified: 2011-02-08 12:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
File where printing fails (366.98 KB, application/pdf)
2011-02-07 08:56 UTC, Michal Čihař
Details
Postscript generated by evince (90.04 KB, image/jpeg)
2011-02-07 08:58 UTC, Michal Čihař
Details
Postscript generated by pdftops (746.56 KB, application/x-xz)
2011-02-07 08:59 UTC, Michal Čihař
Details
Screenshot postscript generated by evince (83.93 KB, image/png)
2011-02-07 09:05 UTC, Michal Čihař
Details
Postscript with Evince and Cairo 1.10.2 (357.16 KB, application/postscript)
2011-02-08 10:36 UTC, Michal Čihař
Details

Description Michal Čihař 2011-02-07 08:56:24 UTC
Created attachment 180272 [details]
File where printing fails

Evince fails to print attached PDF. The text is unreadable in resulting postscript. Converting the same PDF to postscript using popplers pdftops works just fine.
Comment 1 Michal Čihař 2011-02-07 08:58:41 UTC
Created attachment 180273 [details]
Postscript generated by evince
Comment 2 Michal Čihař 2011-02-07 08:59:07 UTC
Created attachment 180274 [details]
Postscript generated by pdftops
Comment 3 Michal Čihař 2011-02-07 09:02:34 UTC
Comment on attachment 180273 [details]
Postscript generated by evince

Sorry, attached wrong file
Comment 4 Michal Čihař 2011-02-07 09:05:47 UTC
Created attachment 180275 [details]
Screenshot postscript generated by evince

The postscript itself is too big, attaching only screenshot to show the breakage.
Comment 5 Fabio Durán Verdugo 2011-02-08 02:39:26 UTC
Yes I can confirm this in 2.32.x
Change the status to NEW
Try to testing in git master but I can do it, gtk fail to compile.
Comment 6 Adrian Johnson 2011-02-08 09:09:43 UTC
Works fine with cairo and poppler git. There are some bug fixes in cairo 1.10.2 for this type of bug.
Comment 7 Michal Čihař 2011-02-08 09:52:17 UTC
I've updated cairo to 1.10.2 and it is still the same.
Comment 8 Adrian Johnson 2011-02-08 10:27:54 UTC
Can you attach the PS output. If it is too big you only need to print one page.
Comment 9 Michal Čihař 2011-02-08 10:36:41 UTC
Created attachment 180375 [details]
Postscript with Evince and Cairo 1.10.2
Comment 10 Adrian Johnson 2011-02-08 11:20:11 UTC
I can reproduce it in cairo 1.10.2. It turned out to be a buggy font in the PDF that contains two "/Encoding" entries. The bug does not occur in master due to some changes in the font encoding used.

Fixed in cairo with this commit:
http://cgit.freedesktop.org/cairo/commit/?h=1.10&id=a1b36ad521ba9ec1509fa32ce4a4e51fe5f623d4
Comment 11 Carlos Garcia Campos 2011-02-08 12:35:31 UTC
Thank you very much Adrian!