diff options
Diffstat (limited to 'src/cairo-pdf-operators-private.h')
-rw-r--r-- | src/cairo-pdf-operators-private.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/cairo-pdf-operators-private.h b/src/cairo-pdf-operators-private.h index e29834b0..b4823351 100644 --- a/src/cairo-pdf-operators-private.h +++ b/src/cairo-pdf-operators-private.h @@ -71,10 +71,12 @@ typedef struct _cairo_pdf_operators { cairo_bool_t in_text_object; /* inside BT/ET pair */ /* PDF text state */ + cairo_bool_t is_new_text_object; /* text object started but matrix and font not yet selected */ unsigned int font_id; unsigned int subset_id; cairo_matrix_t text_matrix; /* PDF text matrix (Tlm in the PDF reference) */ cairo_matrix_t cairo_to_pdftext; /* translate cairo coords to PDF text space */ + cairo_matrix_t font_matrix_inverse; double cur_x; /* Current position in PDF text space (Tm in the PDF reference) */ double cur_y; int hex_width; @@ -134,9 +136,15 @@ _cairo_pdf_operators_fill_stroke (cairo_pdf_operators_t *pdf_operators, cairo_matrix_t *ctm_inverse); cairo_private cairo_int_status_t -_cairo_pdf_operators_show_glyphs (cairo_pdf_operators_t *pdf_operators, - cairo_glyph_t *glyphs, - int num_glyphs, - cairo_scaled_font_t *scaled_font); +_cairo_pdf_operators_show_text_glyphs (cairo_pdf_operators_t *pdf_operators, + const char *utf8, + int utf8_len, + cairo_glyph_t *glyphs, + int num_glyphs, + const cairo_text_cluster_t *clusters, + int num_clusters, + cairo_bool_t backward, + cairo_scaled_font_t *scaled_font); + #endif /* CAIRO_PDF_OPERATORS_H */ |