diff --git a/src/cairo-pdf-operators.c b/src/cairo-pdf-operators.c index 48ae3a6..c10e574 100644 --- a/src/cairo-pdf-operators.c +++ b/src/cairo-pdf-operators.c @@ -256,7 +256,6 @@ _word_wrap_stream_count_string_up_to (word_wrap_stream_t *stream, { const unsigned char *s = data; int count = 0; - cairo_bool_t newline = FALSE; while (length--) { count++; @@ -269,9 +268,6 @@ _word_wrap_stream_count_string_up_to (word_wrap_stream_t *stream, if (*s == '\\') { stream->in_escape = TRUE; stream->escape_digits = 0; - } else if (stream->column > stream->max_column) { - newline = TRUE; - break; } } else { if (!_cairo_isdigit(*s) || ++stream->escape_digits == 3) @@ -283,11 +279,6 @@ _word_wrap_stream_count_string_up_to (word_wrap_stream_t *stream, if (count) _cairo_output_stream_write (stream->output, data, count); - if (newline) { - _cairo_output_stream_printf (stream->output, ")\n("); - stream->column = 0; - } - return count; }