mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
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:
1 parent
d8ffdc556d
commit
151249977d
1 file changed
+6
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user