b=367036, the bug that won't die, forgot to reapply this patch when I upgraded cairo (background of images shows as black when printed)

This commit is contained in:
committed 2007-08-06 18:15:56 -07:00
1 parent d8ffdc556d
commit 151249977d
1 file changed
+6 -1
+6 -1
View File
@@ -476,7 +476,12 @@ _cairo_win32_surface_get_subimage (cairo_win32_surface_t *surface,
status = CAIRO_INT_STATUS_UNSUPPORTED;
if ((local->flags & CAIRO_WIN32_SURFACE_CAN_BITBLT) &&
/* Check for SURFACE_IS_DISPLAY here, because there are a lot
* of printer drivers that lie and say they can BitBlt, but
* just spit out black instead.
*/
if ((local->flags & CAIRO_WIN32_SURFACE_IS_DISPLAY) &&
(local->flags & CAIRO_WIN32_SURFACE_CAN_BITBLT) &&
BitBlt (local->dc,
0, 0,
width, height,