forked from pool/cairo
Accepting request 481243 from GNOME:Next
1 OBS-URL: https://build.opensuse.org/request/show/481243 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/cairo?expand=0&rev=115
This commit is contained in:
parent
891d39d574
commit
283cf06485
@ -139,3 +139,30 @@ index 1fc8197..bac62d5 100644
|
|||||||
static cairo_int_status_t
|
static cairo_int_status_t
|
||||||
--
|
--
|
||||||
cgit v0.10.2
|
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
|
||||||
|
|
||||||
|
@ -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
|
Mon Feb 13 22:13:52 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user