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

Adrian Johnson ajohnson at kemper.freedesktop.org
Wed May 5 05:15:31 PDT 2010


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

New commits:
commit fa937913e06bc295750538be45aa83eb42332fb4
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Wed May 5 21:35:11 2010 +0930

    PS: Add missing 'q' when resetting clip path

diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index 2e46781..8bfdc5a 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -3763,7 +3763,7 @@ _cairo_ps_surface_set_paginated_mode (void			*abstract_surface,
     if (surface->clipper.clip.path != NULL) {
 	status = _cairo_pdf_operators_flush (&surface->pdf_operators);
 
-	_cairo_output_stream_printf (surface->stream, "Q\n");
+	_cairo_output_stream_printf (surface->stream, "Q q\n");
 	_cairo_surface_clipper_reset (&surface->clipper);
     }
 }


More information about the cairo-commit mailing list