summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2007-11-29 09:20:01 +1030
committerAdrian Johnson <ajohnson@redneon.com>2007-11-29 09:20:01 +1030
commit5e8f60531a09f357db38c4b646b1bbd29b97a891 (patch)
tree9f591bc672979c3eb8747faea0cfbc2a8f898d2c
parentba239a474a5cab36098b8f4a98f36aa6281f7da9 (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".
-rw-r--r--src/cairo-ps-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index 71fa6bdf..0a0f841f 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -3149,7 +3149,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 ",