From 3dc16d54db4669415412bb44790d4653962747f6 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Tue, 12 Apr 2016 13:17:02 +0100 Subject: Introduce tuning context. For now, just use it for controlling image decoding and image scaling. --- scripts/cmapdump.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scripts') diff --git a/scripts/cmapdump.c b/scripts/cmapdump.c index 540fd946..9cc3523b 100644 --- a/scripts/cmapdump.c +++ b/scripts/cmapdump.c @@ -287,3 +287,12 @@ fz_document_handler_context *fz_keep_document_handler_context(fz_context *ctx) { return NULL; } + +void fz_default_image_decode(void *arg, int w, int h, int l2factor, fz_irect *irect) +{ +} + +int fz_default_image_scale(void *arg, int w, int h, int src_w, int src_h) +{ + return 0; +} -- cgit v1.2.3