diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2013-03-04 11:11:21 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-03-04 11:47:50 +0000 |
commit | 8206ffe7013dd361d27519950ee5d285e4554e58 (patch) | |
tree | 849f371484b902e7596da1748110b783e9e747d3 /pdf/pdf_xref_aux.c | |
parent | a1bfb03748a46e757ae937888c20b72720e1ac9d (diff) | |
download | mupdf-8206ffe7013dd361d27519950ee5d285e4554e58.tar.xz |
Avoid interactive features causing bloat in mutool
Diffstat (limited to 'pdf/pdf_xref_aux.c')
-rw-r--r-- | pdf/pdf_xref_aux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf/pdf_xref_aux.c b/pdf/pdf_xref_aux.c index 58335a4e..c34a86ed 100644 --- a/pdf/pdf_xref_aux.c +++ b/pdf/pdf_xref_aux.c @@ -25,6 +25,7 @@ pdf_open_document_with_stream(fz_context *ctx, fz_stream *file) pdf_document *doc = pdf_open_document_no_run_with_stream(ctx, file); doc->super.run_page_contents = pdf_run_page_contents_shim; doc->super.run_annot = pdf_run_annot_shim; + doc->update_appearance = pdf_update_appearance; return doc; } @@ -34,5 +35,6 @@ pdf_open_document(fz_context *ctx, const char *filename) pdf_document *doc = pdf_open_document_no_run(ctx, filename); doc->super.run_page_contents = pdf_run_page_contents_shim; doc->super.run_annot = pdf_run_annot_shim; + doc->update_appearance = pdf_update_appearance; return doc; } |