diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-11-14 12:36:41 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-11-14 15:13:48 +0000 |
commit | 56864bf8a93b996cde3b6212e0f8e543032096ba (patch) | |
tree | da28800eb12b2f33ff3caa1dac6de1965c4d958f /include | |
parent | 8e540356340df6c4b1ba332c112045726da263d1 (diff) | |
download | mupdf-56864bf8a93b996cde3b6212e0f8e543032096ba.tar.xz |
Ensure that after_text functions get ctm.
Also wrap their contents in q/Q, so they can't screw up the
rest of the stream.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/interpret.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/pdf/interpret.h b/include/mupdf/pdf/interpret.h index f7104499..cbe1d665 100644 --- a/include/mupdf/pdf/interpret.h +++ b/include/mupdf/pdf/interpret.h @@ -248,7 +248,7 @@ pdf_processor *pdf_new_filter_processor(fz_context *ctx, pdf_document *doc, pdf_ typedef int (pdf_text_filter_fn)(fz_context *ctx, void *opaque, int *ucsbuf, int ucslen, fz_matrix *trm, fz_rect *bbox); -typedef void (pdf_after_text_object_fn)(fz_context *ctx, void *opaque, pdf_document *doc, pdf_processor *chain); +typedef void (pdf_after_text_object_fn)(fz_context *ctx, void *opaque, pdf_document *doc, pdf_processor *chain, const fz_matrix *ctm); /* pdf_new_filter_processor_with_text_filter: Create a filter |