[cairo-commit] src/cairo-pdf-surface.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Thu Oct 28 04:00:23 PDT 2010


 src/cairo-pdf-surface.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e23bcfd4300870034f07b1ecd1bb4d2ac95d9785
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Thu Oct 28 21:21:00 2010 +1030

    PDF: Don't use the currently set color  after a 'Q' operator
    
    https://bugs.freedesktop.org/show_bug.cgi?id=31140

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 11d68f3..549d6dc 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -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;
 


More information about the cairo-commit mailing list