diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-06-12 16:28:14 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-06-12 16:28:14 +0200 |
commit | b86aa63432a2436563bdcc398577ec4884883434 (patch) | |
tree | 749002e3de9d52943898a47f8c57d34c6a09b188 /apps/mudraw.c | |
parent | b975f1b82a061db61124d1cf0cd55ab60c22dc8e (diff) | |
download | mupdf-b86aa63432a2436563bdcc398577ec4884883434.tar.xz |
Support begin/end page calls in text extraction device.
Diffstat (limited to 'apps/mudraw.c')
-rw-r--r-- | apps/mudraw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/mudraw.c b/apps/mudraw.c index e94b692d..38ac47d2 100644 --- a/apps/mudraw.c +++ b/apps/mudraw.c @@ -426,8 +426,7 @@ static void drawpage(fz_context *ctx, fz_document *doc, int pagenum) fz_try(ctx) { - fz_rect bounds; - text = fz_new_text_page(ctx, fz_bound_page(doc, page, &bounds)); + text = fz_new_text_page(ctx); dev = fz_new_text_device(ctx, sheet, text); if (showtext == TEXT_HTML) fz_disable_device_hints(dev, FZ_IGNORE_IMAGE); |