From e54d4225e2d16d2b5cc928294009fce0a5b30718 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 11 May 2012 14:51:11 +0200 Subject: 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. --- apps/mupdfposter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/mupdfposter.c') 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); -- cgit v1.2.3