summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/fix-ps-output.patch
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /gfx/cairo/fix-ps-output.patch
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'gfx/cairo/fix-ps-output.patch')
-rw-r--r--gfx/cairo/fix-ps-output.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/gfx/cairo/fix-ps-output.patch b/gfx/cairo/fix-ps-output.patch
new file mode 100644
index 000000000..b325f0bc5
--- /dev/null
+++ b/gfx/cairo/fix-ps-output.patch
@@ -0,0 +1,19 @@
+# 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);
+ }
+ }