Skip to content

Commit

Permalink
PDF: Don't use the currently set color after a 'Q' operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Johnson committed Oct 28, 2010
1 parent f47830d commit efc2440
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cairo-pdf-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit efc2440

Please sign in to comment.