Comment 100 for bug 179988

Revision history for this message
Adrian Johnson (ajohnson-redneon) wrote :

It would be interesting to see what happens if using the gtkprint dialog you

- get the cairo_surface_t from the cairo_t
  surface = cairo_get_target(cr);

- get the DC from the surface
 dc = cairo_win32_surface_get_dc (surface);

- create a win32_printing surface
  surface2 = cairo_win32_printing_surface_create (dc);
  cr2 = cairo_create (surface2);

call the Inkscape drawing function with cr2

The best solution is to get gtk patched and built to use the printing surface.