1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/cairo/ensure-text-flushed.patch Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +diff --git a/gfx/cairo/cairo/src/cairo-pdf-operators.c b/gfx/cairo/cairo/src/cairo-pdf-operators.c 1.5 +--- a/gfx/cairo/cairo/src/cairo-pdf-operators.c 1.6 ++++ b/gfx/cairo/cairo/src/cairo-pdf-operators.c 1.7 +@@ -480,6 +480,12 @@ _cairo_pdf_operators_clip (cairo_pdf_ope 1.8 + const char *pdf_operator; 1.9 + cairo_status_t status; 1.10 + 1.11 ++ if (pdf_operators->in_text_object) { 1.12 ++ status = _cairo_pdf_operators_end_text (pdf_operators); 1.13 ++ if (unlikely (status)) 1.14 ++ return status; 1.15 ++ } 1.16 ++ 1.17 + if (! path->has_current_point) { 1.18 + /* construct an empty path */ 1.19 + _cairo_output_stream_printf (pdf_operators->stream, "0 0 m ");