GNOME Bugzilla – Bug 528276
PDFs "printed" by gnumeric are mostly blank
Last modified: 2008-04-15 22:45:28 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.
Created attachment 109332 [details] a mostly-empty spreadsheet where A1 = 42
Created attachment 109333 [details] the PDF resulting from printing the A1 = 42 spreadsheet
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.
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.
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.
The upstream libraries are fixed. This is a known, now fixed, bug in cairo. *** This bug has been marked as a duplicate of 503162 ***