diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-05-11 14:51:11 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-05-11 14:51:11 +0200 |
commit | e54d4225e2d16d2b5cc928294009fce0a5b30718 (patch) | |
tree | 1732eb253ecbcd8e72e5d13fc3062944a57d9627 /apps/mupdfclean.c | |
parent | 314c9ecaaba711741ecc5bb3e3e1e62655cee8c4 (diff) | |
download | mupdf-e54d4225e2d16d2b5cc928294009fce0a5b30718.tar.xz |
Split part of fz_document interface for pdf_document into separate file.
Make a separate constructor function that does not link in the
interpreter, so we can save space in the mubusy binary by not
including the font and cmap resources.
Diffstat (limited to 'apps/mupdfclean.c')
-rw-r--r-- | apps/mupdfclean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mupdfclean.c b/apps/mupdfclean.c index a1064f57..a3711c72 100644 --- a/apps/mupdfclean.c +++ b/apps/mupdfclean.c @@ -200,7 +200,7 @@ int pdfclean_main(int argc, char **argv) exit(1); } - xref = pdf_open_document(ctx, infile); + xref = pdf_open_document_no_run(ctx, infile); if (pdf_needs_password(xref)) if (!pdf_authenticate_password(xref, password)) fz_throw(ctx, "cannot authenticate password: %s", infile); |