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 629403 - Wrong PDF print and print-preview
Wrong PDF print and print-preview
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: printing
unspecified
Other Linux
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-12 09:08 UTC by Federico Pelloni
Modified: 2010-10-24 12:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Scan of document printed with errors (410.18 KB, image/jpeg)
2010-09-12 09:11 UTC, Federico Pelloni
Details
Stack Trace for evince PDF printing (1.30 KB, text/plain)
2010-10-20 14:11 UTC, Wes
Details

Description Federico Pelloni 2010-09-12 09:08:21 UTC
Viewing the PDF is fine, letters are placed correctly. 
But when printing some get all misplaced, with lots of spacing between them - see attachment. The same also happens in print-preview.
Comment 1 Federico Pelloni 2010-09-12 09:11:13 UTC
Created attachment 170066 [details]
Scan of document printed with errors
Comment 2 Felipe Besoaín Pino 2010-09-13 00:15:20 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so and reopen this bug or report a new one. Thanks in advance!
Comment 3 Felipe Besoaín Pino 2010-09-13 00:18:14 UTC
I'm sorry I just made a wrong commit, I get the wrong tab!
changing the status to UNCONFIRMED.
Comment 4 Marcel Stimberg 2010-10-18 22:01:24 UTC
This bug has been reported by several users of Ubuntu 10.10 (evince 2.32.0):
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/661724

The downstream report contains many examples of PDFs showing this issue, e.g.
http://www.fincen.gov/fin104_ctr.pdf
http://static.springsource.org/spring/docs/1.2.x/spring-reference.pdf
https://bugslaunchpad.net/ubuntu/+source/evince/+bug/662659/+attachment/1699523/+files/BaSc10.pdf

All files render fine but show scrambled letters when printed or print-previewed.
Comment 5 Wes 2010-10-20 14:11:23 UTC
Created attachment 172845 [details]
Stack Trace for evince PDF printing 

I was redirected here from Ubuntu's launchpad.  First time getting stack trace, and gdb was complaining about debug information having CRC mismatch, so I am not sure this is right.  Steps to product this stack trace:
1. Open evince
2. Open PDF document, in my case, fincen_104.pdf
3. Print PDF to Document printer, though the same results if printed to real printer: letters scattered all over page for first two pages, but correct layout for the last two pages.

I will submit other information if needed.

Thanks!
Comment 6 Marcel Stimberg 2010-10-24 09:48:54 UTC
@Wes: Thanks for your help. In this case no stack trace is needed (stack traces are mostly useful if programs crash) -- comment 2 was a mistake. 

The issue is not a bug in evince (so this bug can be closed) but in the cairo library that evince uses for printing. It has just been fixed (but it will take some time until this fix lands in Ubuntu):
https://bugs.freedesktop.org/show_bug.cgi?id=31062