diff --git a/cairo-pdf-fixes.patch b/cairo-pdf-fixes.patch index 729d5a4..85a56bf 100644 --- a/cairo-pdf-fixes.patch +++ b/cairo-pdf-fixes.patch @@ -139,3 +139,30 @@ index 1fc8197..bac62d5 100644 static cairo_int_status_t -- cgit v0.10.2 + +From 1a307123af14cfa50a0c35819cfaee79f0ade1ba Mon Sep 17 00:00:00 2001 +From: Adrian Johnson +Date: Thu, 2 Mar 2017 19:14:04 +1030 +Subject: pdf-operators: fix bug in line wrapping + +patch by jmmorlan@sonic.net + +https://bugs.freedesktop.org/show_bug.cgi?id=100029 + +diff --git a/src/cairo-pdf-operators.c b/src/cairo-pdf-operators.c +index 99a8dc8..b4ac253 100644 +--- a/src/cairo-pdf-operators.c ++++ b/src/cairo-pdf-operators.c +@@ -319,7 +319,8 @@ _word_wrap_stream_write (cairo_output_stream_t *base, + if (*data == '\n' || stream->column >= stream->max_column) { + _cairo_output_stream_printf (stream->output, "\n"); + stream->column = 0; +- } else if (*data == '<') { ++ } ++ if (*data == '<') { + stream->state = WRAP_STATE_HEXSTRING; + } else if (*data == '(') { + stream->state = WRAP_STATE_STRING; +-- +cgit v0.10.2 + diff --git a/cairo.changes b/cairo.changes index b97eb40..a935958 100644 --- a/cairo.changes +++ b/cairo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 8 19:41:41 UTC 2017 - zaitor@opensuse.org + +- Rebase cairo-pdf-fixes.patch: Add commit to fix fdo#100029. + ------------------------------------------------------------------- Mon Feb 13 22:13:52 UTC 2017 - zaitor@opensuse.org