diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-02-28 12:55:14 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-03-16 14:51:40 +0100 |
commit | 187bef3feb8e4ba672bdb8d23d101121a84af557 (patch) | |
tree | 47545fb9a29428a0606852d95bf53ce45357f4ee | |
parent | eea38800a98708a18616782e5c3e67ce9c0ca0e3 (diff) | |
download | mupdf-187bef3feb8e4ba672bdb8d23d101121a84af557.tar.xz |
Don't extract text from annotations by default.
-rw-r--r-- | source/fitz/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/util.c b/source/fitz/util.c index c78ab641..85ee1e45 100644 --- a/source/fitz/util.c +++ b/source/fitz/util.c @@ -310,7 +310,7 @@ fz_new_stext_page_from_page(fz_context *ctx, fz_page *page, const fz_stext_optio fz_try(ctx) { dev = fz_new_stext_device(ctx, text, options); - fz_run_page(ctx, page, dev, &fz_identity, NULL); + fz_run_page_contents(ctx, page, dev, &fz_identity, NULL); fz_close_device(ctx, dev); } fz_always(ctx) |