[cairo-commit] src/cairo-pdf-surface.c
Carl Worth
cworth at kemper.freedesktop.org
Mon Apr 24 11:23:38 PDT 2006
src/cairo-pdf-surface.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
New commits:
diff-tree 12c4c375af7efe367bb6128babd14b4c1d05be65 (from e0bf1378044d606273ee876663498878e0b2edd4)
Author: Carl Worth <cworth at cworth.org>
Date: Fri Apr 21 02:46:20 2006 -0700
Fix invalid restore that was causing subsequent pages after first to be inverted
diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 7cb9d13..f4b928d 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -1944,8 +1944,10 @@ _cairo_pdf_document_add_page (cairo_pdf_
_cairo_pdf_surface_ensure_stream (surface);
- if (surface->has_clip)
+ if (surface->has_clip) {
_cairo_output_stream_printf (output, "Q\r\n");
+ surface->has_clip = FALSE;
+ }
_cairo_pdf_document_close_stream (document);
More information about the cairo-commit
mailing list