
Sorry to be a pain on this (I'm a commit newb! :blush:), but here's the latest wisdom from Adrian Johnson on the printing bug. He suggests there are a few things still to be tidied up before this can be committed to the 0.46 branch.
======== - I'll push out my cairo patch to the cairo repository in the next few hours. Then Ishmal can do a cairo build from that. As the current cairo snapshot (1.5.14) is the release candidate for 1.6.0 I need to do further testing to make sure I have not broken anything before I push out this patch.
- The workaround for using win32_printing_surface with gtkprint should be made more robust. It should be changed to check of the surface returned by gtkprint is of type CAIRO_SURFACE_TYPE_WIN32 before substituting it with win32_printing_surface. That way the code will work correctly if gtkprint returns some other surface like pdf. It will also ensure that when gtkprint is fixed to use the surface of type CAIRO_SURFACE_TYPE_WIN32_PRINTING, the workaround will be bypassed.
(suggested code omitted) ========
So we are very close, but please don't commit everything just yet.