https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 8d2e42a2884718221442d3d6c054c99b1d2757b2 authored by Ryan VanderMeulen on 29 June 2015, 15:32:20 UTC
No bug - Pin mozharness.json to mozilla-b2g37_v2_2 rather than tracking a specific revision since the branch is only receiving targeted landings. a=test-only
Tip revision: 8d2e42a
fix-ps-output.patch
# HG changeset patch
# User Jeff Muizelaar <jmuizelaar@mozilla.com>
# Date 1276629019 14400
# Node ID b5eb246c152dedb895d3010eb7192f88cce51146
# Parent  792cd3e8aa59b24c333f2c90f938beda361b3336
cairo: PS: Add missing 'q' when resetting clip path

diff --git a/gfx/cairo/cairo/src/cairo-ps-surface.c b/gfx/cairo/cairo/src/cairo-ps-surface.c
--- a/gfx/cairo/cairo/src/cairo-ps-surface.c
+++ b/gfx/cairo/cairo/src/cairo-ps-surface.c
@@ -3696,7 +3696,7 @@ _cairo_ps_surface_set_paginated_mode (vo
     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);
     }
 }
back to top