[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new "paginate" branch
From: |
John Darrington |
Subject: |
Re: new "paginate" branch |
Date: |
Sun, 9 May 2010 10:54:48 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
OK. I pushed a first attempt at a Gtk+ print operation.
There seems to be some issues which may or may not be inter-related.
0. src/output/cairo.h declares a function xr_driver_destroy. But there
doesn't seem to be a corresponding definition anywhere.
1. It looks as if the calculated number of pages hasn't taken into account
the space used by the headers. Consequently the headers seem to be
rendered off the top of the page.
2. A table which doesn't fit on the end of the page gets truncated. The
end of that table is never rendered. (I noticed this problem also with the
Export
to pdf function).
3. Charts don't seem to get rendered at all. A blank page appears instead.
J'
On Sat, May 08, 2010 at 02:07:30PM -0700, Ben Pfaff wrote:
Hi John.
On IRC you've mentioned that to implement GTK+ printing the
output API needs to be able to break output up into a
page-at-a-time operation. I've now refactored PSPP's Cairo
output driver so that it can do that. I've pushed it to a new
"paginate" branch for you to look at. Please look it over. If
it seems suitable for basing the GTK+ printing code upon, then
I'll push it to master.
Ben
--
"Note that nobody reads every post in linux-kernel. In fact, nobody who
expects to have time left over to actually do any real kernel work will
read even half. Except Alan Cox, but he's actually not human, but about
a thousand gnomes working in under-ground caves in Swansea." --Linus
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature