summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-operators-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2010-10-01 19:18:28 +0930
committerAdrian Johnson <ajohnson@redneon.com>2010-10-01 19:18:28 +0930
commit165a14b5646d582781d119874f549ec9a02d7f53 (patch)
treec77e8605a664a1514cc7f04921624011b44a007f /src/cairo-pdf-operators-private.h
parentaf3b550bc186361a0b6a779df0fc57799c3f163d (diff)
downloadcairo-165a14b5646d582781d119874f549ec9a02d7f53.tar.gz
pdf-operators: fix bug that was causing unnecessary repositioning of text
This optimizes the output to increase the maximum amount of text that is emitted with a single Tj operator.
Diffstat (limited to 'src/cairo-pdf-operators-private.h')
-rw-r--r--src/cairo-pdf-operators-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-pdf-operators-private.h b/src/cairo-pdf-operators-private.h
index 1f5ee1768..14d60b6f6 100644
--- a/src/cairo-pdf-operators-private.h
+++ b/src/cairo-pdf-operators-private.h
@@ -83,6 +83,7 @@ typedef struct _cairo_pdf_operators {
int hex_width;
cairo_bool_t is_latin;
int num_glyphs;
+ double glyph_buf_x_pos;
cairo_pdf_glyph_t glyphs[PDF_GLYPH_BUFFER_SIZE];
/* PDF line style */