Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438688 - <x11-libs/cairo-1.12.6 type1 font parsing bugs lead to app-text/evince pdf printing garbage output
Summary: <x11-libs/cairo-1.12.6 type1 font parsing bugs lead to app-text/evince pdf pr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-10-17 09:19 UTC by Thomas Witt
Modified: 2012-10-31 23:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
screenshot of the print preview window (test_preview.png,41.71 KB, image/png)
2012-10-17 09:20 UTC, Thomas Witt
Details
pdf example (test.pdf,18.51 KB, application/pdf)
2012-10-17 09:21 UTC, Thomas Witt
Details
new example (test.pdf,42.11 KB, application/pdf)
2012-10-18 07:52 UTC, Thomas Witt
Details
Output from 'print to file' (second example) (output.pdf,36.87 KB, application/pdf)
2012-10-18 07:53 UTC, Thomas Witt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Witt 2012-10-17 09:19:13 UTC
When I print the attached pdf (or any other one using the nexus font) the characters of each entire line get placed on top of each other. This is even visible in the print preview.

Printing the same pdf from the hplip Device Manager directly it works as expected. 

Reproducible: Always

Steps to Reproduce:
1. open attached test.pdf in evince
2. press print, print preview
Comment 1 Thomas Witt 2012-10-17 09:20:15 UTC
Created attachment 326756 [details]
screenshot of the print preview window
Comment 2 Thomas Witt 2012-10-17 09:21:44 UTC
Created attachment 326758 [details]
pdf example
Comment 3 Thomas Witt 2012-10-17 09:34:01 UTC
Another example can be found in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688028
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-17 18:49:56 UTC
Confirmed both with evince-3.4.0 and 3.6.1, and reported upstream at https://bugzilla.gnome.org/show_bug.cgi?id=686324
Comment 5 Thomas Witt 2012-10-18 07:52:58 UTC
Created attachment 326810 [details]
new example

I installed cairo-9999 and that made it much better, the character spacing works now, but I'm still getting the little box instead of the page number and the equation-counter.
Comment 6 Thomas Witt 2012-10-18 07:53:38 UTC
Created attachment 326812 [details]
Output from 'print to file' (second example)
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-18 16:24:16 UTC
@cairo maintainers, please add the following two patches from upstream git:

http://cgit.freedesktop.org/cairo/commit/?id=cffbdf50ce0117d62d6e157369c60e4a8572fd21
http://cgit.freedesktop.org/cairo/commit/?id=599e78ea2ee146c74fc7ffcee32a055dabbefdda

Applying these two patches to cairo-1.12.2-r4 fixes the issue with incorrect character placement in pdf printing from evince.
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-10-31 23:12:55 UTC
1.12.6 is now in CVS.