mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 03:19:06 +00:00
Bug 563255. cairo: PS: Add missing 'q' when resetting clip path
This commit is contained in:
parent
e0e1a9caa2
commit
a75006878d
@ -114,6 +114,8 @@ cairo-qt-compile.patch: Fix compile error, return not reached, and clone_similar
|
||||
|
||||
dwrite-glyph-extents.patch: Add padding to extents of antialiased glyphs, to avoid unwanted clipping. (bug 568191)
|
||||
|
||||
fix-ps-output.patch: PS: Add missing 'q' when resetting clip path (42b5cac7668625c9761113ff72b47af5cfd10377)
|
||||
|
||||
==== pixman patches ====
|
||||
|
||||
pixman-android-cpu-detect.patch: Add CPU detection support for Android, where we can't reliably access /proc/self/auxv.
|
||||
|
@ -3696,7 +3696,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);
|
||||
}
|
||||
}
|
||||
|
19
gfx/cairo/fix-ps-output.patch
Normal file
19
gfx/cairo/fix-ps-output.patch
Normal file
@ -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);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user