GTK+ printing patch ready for review

Maurice van der Pot <griffon26-bCGDfOjggl9Wk0Htik3J/[email protected]> Sun, 3 Aug 2008 21:27:50 +0200
Newsgroups gmane.comp.gnome.apps.planner.devel
Message-ID <[email protected]>
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   [email protected]    http://www.gentoo.org
Gnome Planner Developer  griffon26-bCGDfOjggl9Wk0Htik3J/[email protected]  http://live.gnome.org/Planner

_______________________________________________
Planner-dev-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/planner-dev-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFIlga2MGnpIbeahxwRAtDSAKCza0kdLcGTvGzZmCE6e4MoWaKL2ACgp4Zs
dsapnySwfUkL2mUlCBvDfxI=
=hQJ2
-----END PGP SIGNATURE-----