Accepting request 481362 from GNOME:Factory

(forwarded request 481243 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/481362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cairo?expand=0&rev=75
This commit is contained in:
Dominique Leuenberger 2017-03-22 22:05:25 +00:00 committed by Git OBS Bridge
commit 9ccd396fa5
2 changed files with 32 additions and 0 deletions

View File

@ -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 <ajohnson@redneon.com>
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

View File

@ -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