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/mupdfposter.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/mupdfposter.c')
-rw-r--r-- | apps/mupdfposter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mupdfposter.c b/apps/mupdfposter.c index 415e3175..19198982 100644 --- a/apps/mupdfposter.c +++ b/apps/mupdfposter.c @@ -162,7 +162,7 @@ int pdfposter_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); |