2 # User Jeff Muizelaar <jmuizelaar@mozilla.com>
3 # Date 1276629019 14400
4 # Node ID b5eb246c152dedb895d3010eb7192f88cce51146
5 # Parent 792cd3e8aa59b24c333f2c90f938beda361b3336
6 cairo: PS: Add missing 'q' when resetting clip path
8 diff --git a/gfx/cairo/cairo/src/cairo-ps-surface.c b/gfx/cairo/cairo/src/cairo-ps-surface.c
9 --- a/gfx/cairo/cairo/src/cairo-ps-surface.c
10 +++ b/gfx/cairo/cairo/src/cairo-ps-surface.c
11 @@ -3696,7 +3696,7 @@ _cairo_ps_surface_set_paginated_mode (vo
12 if (surface->clipper.clip.path != NULL) {
13 status = _cairo_pdf_operators_flush (&surface->pdf_operators);
15 - _cairo_output_stream_printf (surface->stream, "Q\n");
16 + _cairo_output_stream_printf (surface->stream, "Q q\n");
17 _cairo_surface_clipper_reset (&surface->clipper);