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 528276 - PDFs "printed" by gnumeric are mostly blank
PDFs "printed" by gnumeric are mostly blank
Status: RESOLVED DUPLICATE of bug 503162
Product: Gnumeric
Classification: Applications
Component: Printing
1.8.x
Other All
: Normal normal
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-04-15 18:59 UTC by gnucash
Modified: 2008-04-15 22:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a mostly-empty spreadsheet where A1 = 42 (1.71 KB, application/binary)
2008-04-15 19:01 UTC, gnucash
Details
the PDF resulting from printing the A1 = 42 spreadsheet (7.39 KB, application/binary)
2008-04-15 19:02 UTC, gnucash
Details

Description gnucash 2008-04-15 18:59:12 UTC
Please describe the problem:
I tried to print one of my spreadsheets to a PDF file and when I view the file it is mostly blank.  There's a header with the sheet name and a footer with a page number, but no content other than some horizontal lines (probably corresponding to cells that I gave borders).

Steps to reproduce:
1. start with a blank spreadsheet
2. set cell A1 to 42
3. print to ~/output.PDF
4. evince or acroread ~/output.PDF and revel in its blankness.

Actual results:
The resulting PDF is mostly blank and contains no cell values.

Expected results:
I would expect to see "42" somewhere on the page

Does this happen every time?
happens every time

Other information:
I am not running CUPS nor do I have a printer configured.  This is an unremarkable build of gnumeric 1.8.1 on a gentoo system.
Comment 1 gnucash 2008-04-15 19:01:41 UTC
Created attachment 109332 [details]
a mostly-empty spreadsheet where A1 = 42
Comment 2 gnucash 2008-04-15 19:02:47 UTC
Created attachment 109333 [details]
the PDF resulting from printing the A1 = 42 spreadsheet
Comment 3 Morten Welinder 2008-04-15 19:06:28 UTC
When I load that file in Acroread, I do not see "42" either.
However, if I select all and paste into Emacs, I do see it.
Comment 4 Jean Bréfort 2008-04-15 19:52:24 UTC
Seems that GtkPrint does not like the Helvetica font. Changing to other fonts make things work. AFAIK Helvetica is a bitmap font. This might be the issue.
Comment 5 gnucash 2008-04-15 21:25:13 UTC
Ideally gnumeric should be able to print anything you type into it.

Until the upstream libraries are fixed, is there any way for gnumeric to identify which fonts are printable and which are not?  And maybe it could default to a printable font?  

I'm not sure how I would go about changing the font on every cell in every one of my sheets.
Comment 6 Andreas J. Guelzow 2008-04-15 22:45:28 UTC
The upstream libraries are fixed. This is a known, now fixed, bug in cairo.

*** This bug has been marked as a duplicate of 503162 ***