diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2010-10-28 21:21:00 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2010-10-28 21:33:27 +1030 |
commit | efc2440526c609338d68354ddf38031d1fa7c2c4 (patch) | |
tree | dd64afdf254823aa8ff7073afc0e16c9aa1bdb00 | |
parent | f47830dbbc34c7068ccdd8f7f9042e8734c9e408 (diff) |
PDF: Don't use the currently set color after a 'Q' operator
https://bugs.freedesktop.org/show_bug.cgi?id=31140
(cherry picked from commit e23bcfd4300870034f07b1ecd1bb4d2ac95d9785)
-rw-r--r-- | src/cairo-pdf-surface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c index fec752f88..ae2e4f544 100644 --- a/src/cairo-pdf-surface.c +++ b/src/cairo-pdf-surface.c @@ -3554,6 +3554,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; |