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 527954 - PDF printer rendering does not display correctly in Adobe Reader
PDF printer rendering does not display correctly in Adobe Reader
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: gnome-sudoku
2.22.x
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-04-14 02:00 UTC by Michael Wiktowy
Modified: 2009-03-29 21:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Output of Sudoku with cairo 1.5.16 installed (38.10 KB, application/pdf)
2008-04-14 02:02 UTC, Michael Wiktowy
Details
Output of Sudoku with cairo upgraded to 1.6.4 (38.13 KB, application/pdf)
2008-04-14 02:03 UTC, Michael Wiktowy
Details

Description Michael Wiktowy 2008-04-14 02:00:44 UTC
Please describe the problem:
I attempted to output to PDF file, with the pseudo PDF Print device, some Sudoku
puzzles from the Gnome Sudoku app. I printed two puzzles per page and everything
seemed to display fine with Evince. However, when viewed on a Windows platform
using Adobe Reader 8 (one would presume to be the gold standard of PDF viewing)
the top puzzle displays fine but the bottom one of each page displays an empty grid.



Steps to reproduce:
Steps to Reproduce:
1. Open Sudoku in Gnome and print 10 puzzles with two to a page
2. Open in Evince
3. Open in Adobe Reader 8 on Windows


Actual results:
Actual results:
Open in Evince displays fine
Open in Adobe Reader on Windows only displays the top puzzle numbers and not the
bottom ones.

Expected results:
Expected results:
The PDF should display correctly regardless of platform/reader. That is the
selling point of the PDF format.

Does this happen every time?
Always

Other information:
This issue may just be the Sudoku app but it might point to a deeper rendering
issue within Cairo and this is a nice small test case.
Strangely enough, it appears that the numbers for the bottom puzzle are there,
they may just be rendering in white on a white background. If I open a page of
the PDF with the new Inkscape 0.46 on Windows it shows up fine. If I then re-save that single page the seconds puzzle shows up fine in Adobe Reader. So whatever Inkscape (which I believe also uses Cairo) does in Windows corrects the problem.

This was tested with Version:
Adobe Reader 8
Rawhide LiveCD snapshot 20080404
cairo 1.5.16-1.fc9
also upgraded to current rawhide of cairo 1.6.4-1.fc9 and restarted X with the same effect. I will attach the two PDF files generated.

Submitted upstream at bug triage request. Original bug was reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=441341
Comment 1 Michael Wiktowy 2008-04-14 02:02:49 UTC
Created attachment 109202 [details]
Output of Sudoku with cairo 1.5.16 installed
Comment 2 Michael Wiktowy 2008-04-14 02:03:44 UTC
Created attachment 109203 [details]
Output of Sudoku with cairo upgraded to 1.6.4
Comment 3 Michael Wiktowy 2008-05-31 20:47:11 UTC
Switching this to gnome-games as that seems to be where the issue is according to downstream analysis by John (J5) Palmieri at https://bugzilla.redhat.com/show_bug.cgi?id=441341#c10

In a nutshell, Sudoku is using the old depreciated gnome-print (not cairo as I previously thought) and should be upgraded to use cairo.
Comment 4 Thomas Andersen 2009-03-29 21:11:40 UTC
sudoku has been ported to gtk print in 2.27. Thanks for reporting the issue