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:
vladimir@pobox.com 2007-08-06 18:15:56 -07:00
parent 8445b79997
commit eb7c87258e

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,