summaryrefslogtreecommitdiff
path: root/source/fitz/font-imp.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-08-22 11:58:23 +0200
committerSebastian Rasmussen <sebras@gmail.com>2018-08-22 19:38:10 +0800
commita1feb3abb2821a0f8e00d146e6426ecdb9922b94 (patch)
tree1db9ccd42ad4b8b01155a687b6759aa6e7322147 /source/fitz/font-imp.h
parent61574870c0fbe0bb76ea143f8b1ff38800fcdec7 (diff)
downloadmupdf-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 'source/fitz/font-imp.h')
-rw-r--r--source/fitz/font-imp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/font-imp.h b/source/fitz/font-imp.h
index 383d7d21..9a167792 100644
--- a/source/fitz/font-imp.h
+++ b/source/fitz/font-imp.h
@@ -19,7 +19,7 @@ struct fz_font_s
float *t3widths; /* has 256 entries if used */
unsigned short *t3flags; /* has 256 entries if used */
void *t3doc; /* a pdf_document for the callback */
- void (*t3run)(fz_context *ctx, void *doc, void *resources, fz_buffer *contents, struct fz_device_s *dev, fz_matrix ctm, void *gstate, int nested_depth, fz_default_colorspaces *default_cs);
+ void (*t3run)(fz_context *ctx, void *doc, void *resources, fz_buffer *contents, struct fz_device_s *dev, fz_matrix ctm, void *gstate, fz_default_colorspaces *default_cs);
void (*t3freeres)(fz_context *ctx, void *doc, void *resources);
fz_rect bbox; /* font bbox is used only for t3 fonts */