[cairo-commit] Branch '1.10' - src/cairo-pdf-surface.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Thu Oct 28 04:07:09 PDT 2010


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

New commits:
commit efc2440526c609338d68354ddf38031d1fa7c2c4
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
    (cherry picked from commit e23bcfd4300870034f07b1ecd1bb4d2ac95d9785)

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index fec752f..ae2e4f5 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;
 


More information about the cairo-commit mailing list