diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2007-11-29 09:20:01 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2007-12-12 21:31:56 +1030 |
commit | 9b4d39808875bb642de80ee61ab76ef83829ab3b (patch) | |
tree | 7b9b30612453ed90bfd664d627f96006b454e768 | |
parent | 3551152005e38947cc4233e25744ec99eb4587cc (diff) |
PS: Ensure that xyshow operator has a pair of offsets for each glyph
The last entry should have been "0 0" instead of "0".
(cherry picked from commit 5e8f60531a09f357db38c4b646b1bbd29b97a891)
-rw-r--r-- | src/cairo-ps-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index 2da20d46..30f0e712 100644 --- a/src/cairo-ps-surface.c +++ b/src/cairo-ps-surface.c @@ -2298,7 +2298,7 @@ _cairo_ps_surface_show_glyphs (void *abstract_surface, } else { for (j = i; j < last+1; j++) { if (j == num_glyphs_unsigned - 1) - _cairo_output_stream_printf (word_wrap, "0 "); + _cairo_output_stream_printf (word_wrap, "0 0 "); else _cairo_output_stream_printf (word_wrap, "%f %f ", |