PDF: Don't use the currently set color after a 'Q' operator

https://bugs.freedesktop.org/show_bug.cgi?id=31140
This commit is contained in:
Adrian Johnson 2010-10-28 21:21:00 +10:30
parent 147fa7a2be
commit e23bcfd430

View file

@ -3556,6 +3556,7 @@ _cairo_pdf_surface_unselect_pattern (cairo_pdf_surface_t *surface)
_cairo_output_stream_printf (surface->output, "Q\n");
_cairo_pdf_operators_reset (&surface->pdf_operators);
surface->current_pattern_is_solid_color = FALSE;
}
surface->select_pattern_gstate_saved = FALSE;