Index: modules/printbackends/cups/gtkprintbackendcups.c =================================================================== RCS file: /cvs/gnome/gtk+/modules/printbackends/cups/gtkprintbackendcups.c,v retrieving revision 1.10 diff -u -p -r1.10 gtkprintbackendcups.c --- modules/printbackends/cups/gtkprintbackendcups.c 24 May 2006 10:50:56 -0000 1.10 +++ modules/printbackends/cups/gtkprintbackendcups.c 10 Jun 2006 23:04:50 -0000 @@ -277,7 +277,7 @@ cups_printer_create_cairo_surface (GtkPr surface = cairo_ps_surface_create_for_stream (_cairo_write_to_cups, GINT_TO_POINTER (cache_fd), width, height); /* TODO: DPI from settings object? */ - cairo_ps_surface_set_dpi (surface, 300, 300); + cairo_surface_set_fallback_resolution (surface, 300, 300); return surface; } Index: modules/printbackends/lpr/gtkprintbackendlpr.c =================================================================== RCS file: /cvs/gnome/gtk+/modules/printbackends/lpr/gtkprintbackendlpr.c,v retrieving revision 1.6 diff -u -p -r1.6 gtkprintbackendlpr.c --- modules/printbackends/lpr/gtkprintbackendlpr.c 24 May 2006 10:50:57 -0000 1.6 +++ modules/printbackends/lpr/gtkprintbackendlpr.c 10 Jun 2006 23:04:51 -0000 @@ -192,7 +192,7 @@ lpr_printer_create_cairo_surface (GtkPri surface = cairo_ps_surface_create_for_stream (_cairo_write, GINT_TO_POINTER (cache_fd), width, height); /* TODO: DPI from settings object? */ - cairo_ps_surface_set_dpi (surface, 300, 300); + cairo_surface_set_fallback_resolution (surface, 300, 300); return surface; } Index: modules/printbackends/pdf/gtkprintbackendpdf.c =================================================================== RCS file: /cvs/gnome/gtk+/modules/printbackends/pdf/gtkprintbackendpdf.c,v retrieving revision 1.6 diff -u -p -r1.6 gtkprintbackendpdf.c --- modules/printbackends/pdf/gtkprintbackendpdf.c 24 May 2006 10:50:57 -0000 1.6 +++ modules/printbackends/pdf/gtkprintbackendpdf.c 10 Jun 2006 23:04:51 -0000 @@ -193,7 +193,7 @@ pdf_printer_create_cairo_surface (GtkPri surface = cairo_pdf_surface_create_for_stream (_cairo_write, GINT_TO_POINTER (cache_fd), width, height); /* TODO: DPI from settings object? */ - cairo_pdf_surface_set_dpi (surface, 300, 300); + cairo_surface_set_fallback_resolution (surface, 300, 300); return surface; }