diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-08-22 11:58:23 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-08-22 19:38:10 +0800 |
commit | a1feb3abb2821a0f8e00d146e6426ecdb9922b94 (patch) | |
tree | 1db9ccd42ad4b8b01155a687b6759aa6e7322147 /include/mupdf/fitz/glyph-cache.h | |
parent | 61574870c0fbe0bb76ea143f8b1ff38800fcdec7 (diff) | |
download | mupdf-a1feb3abb2821a0f8e00d146e6426ecdb9922b94.tar.xz |
Remove the old 'nested depth' tracking.
This was used to prevent infinite cycles in the Type3 font CharProcs,
but the previous commits forbids all cycles in order to prevent memory
leaks due to cyclic reference counts.
Diffstat (limited to 'include/mupdf/fitz/glyph-cache.h')
-rw-r--r-- | include/mupdf/fitz/glyph-cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/fitz/glyph-cache.h b/include/mupdf/fitz/glyph-cache.h index caedf117..07d84589 100644 --- a/include/mupdf/fitz/glyph-cache.h +++ b/include/mupdf/fitz/glyph-cache.h @@ -8,8 +8,8 @@ void fz_purge_glyph_cache(fz_context *ctx); fz_pixmap *fz_render_glyph_pixmap(fz_context *ctx, fz_font*, int, fz_matrix *, const fz_irect *scissor, int aa); -void fz_render_t3_glyph_direct(fz_context *ctx, fz_device *dev, fz_font *font, int gid, fz_matrix trm, void *gstate, int nested_depth, fz_default_colorspaces *def_cs); -void fz_prepare_t3_glyph(fz_context *ctx, fz_font *font, int gid, int nested_depth); +void fz_render_t3_glyph_direct(fz_context *ctx, fz_device *dev, fz_font *font, int gid, fz_matrix trm, void *gstate, fz_default_colorspaces *def_cs); +void fz_prepare_t3_glyph(fz_context *ctx, fz_font *font, int gid); void fz_dump_glyph_cache_stats(fz_context *ctx); float fz_subpixel_adjust(fz_context *ctx, fz_matrix *ctm, fz_matrix *subpix_ctm, unsigned char *qe, unsigned char *qf); |