diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-11-23 15:14:22 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-11-26 12:49:47 +0000 |
commit | 36085815dafbb3653a51b526c528aa15bb6fb6e1 (patch) | |
tree | 030dfa1d94e18e8e507086ea7e1ca98142ee0102 /fitz/fitz-internal.h | |
parent | 07373ba63c9eb4a2d1d8b1732bafad7ed20375d8 (diff) | |
download | mupdf-36085815dafbb3653a51b526c528aa15bb6fb6e1.tar.xz |
Use display list for type 3 glyphs.
We still need to have the callback for type 3 fonts that are uncacheable.
With this change the callback is only ever called directly from the
interpreter in fz_prepare_t3_glyph and fz_render_t3_glyph_direct.
Diffstat (limited to 'fitz/fitz-internal.h')
-rw-r--r-- | fitz/fitz-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h index 914bed68..569fc694 100644 --- a/fitz/fitz-internal.h +++ b/fitz/fitz-internal.h @@ -1011,6 +1011,7 @@ struct fz_font_s fz_matrix t3matrix; void *t3resources; fz_buffer **t3procs; /* has 256 entries if used */ + fz_display_list **t3lists; /* has 256 entries if used */ float *t3widths; /* has 256 entries if used */ char *t3flags; /* has 256 entries if used */ void *t3doc; /* a pdf_document for the callback */ @@ -1157,6 +1158,7 @@ fz_pixmap *fz_render_ft_stroked_glyph(fz_context *ctx, fz_font *font, int gid, f fz_pixmap *fz_render_glyph(fz_context *ctx, fz_font*, int, fz_matrix, fz_colorspace *model, fz_bbox scissor); fz_pixmap *fz_render_stroked_glyph(fz_context *ctx, fz_font*, int, fz_matrix, fz_matrix, fz_stroke_state *stroke, fz_bbox scissor); void fz_render_t3_glyph_direct(fz_context *ctx, fz_device *dev, fz_font *font, int gid, fz_matrix trm, void *gstate); +void fz_prepare_t3_glyph(fz_context *ctx, fz_font *font, int gid); /* * Text buffer. |