summaryrefslogtreecommitdiff
path: root/apps/mupdfposter.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-05-11 14:51:11 +0200
committerTor Andersson <tor.andersson@artifex.com>2012-05-11 14:51:11 +0200
commite54d4225e2d16d2b5cc928294009fce0a5b30718 (patch)
tree1732eb253ecbcd8e72e5d13fc3062944a57d9627 /apps/mupdfposter.c
parent314c9ecaaba711741ecc5bb3e3e1e62655cee8c4 (diff)
downloadmupdf-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.c2
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);