GTK+ printing patch ready for review



Hi,

I just finished the changes to get Planner to use the GTK printing API
instead of the old libgnomeprint. In the process I also fixed a few
memory leaks and rewrote some code to make it easier to understand.

The patch can be found here:
http://www.kfk4ever.com/~griffon26/shared/planner-gtk-print.patch

It should work on both Linux and on Windows, but on Windows you'll need
a development version of GTK+. I will still have to update the installer
and makefile for Windows, but I'll do this when the next stable version
of GTK+ has been released.

Previews on Windows don't work yet and I'm taking the easy way out and
blame this on GTK+ for the moment. ;-)

Previews (on Linux) are now launched in evince (Gnome's pdf viewer), so
you'll have to install that if you don't have it already.

Another problem is that custom paper sizes do not always work yet. I
filed a bug for that: 
http://bugzilla.gnome.org/show_bug.cgi?id=546083

The last problem I'm aware of is zooming. It works in a different way
than I'd expect. Zooming does not affect what part of the output is put
on what page, it only affects how large a part of the page is used for
it. I plan to talk to a few people to see if this is intentional.


If nobody starts screaming I'll commit this in a week or so.


Regards,
Maurice.

-- 
Maurice van der Pot

Gentoo Linux Developer   griffon26 gentoo org    http://www.gentoo.org
Gnome Planner Developer  griffon26 kfk4ever com  http://live.gnome.org/Planner

Attachment: pgpRpOmPPfU8x.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]