diff options
Diffstat (limited to 'platform/android/viewer/jni/mupdf.c')
-rw-r--r-- | platform/android/viewer/jni/mupdf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/viewer/jni/mupdf.c b/platform/android/viewer/jni/mupdf.c index 83560aad..9eabc243 100644 --- a/platform/android/viewer/jni/mupdf.c +++ b/platform/android/viewer/jni/mupdf.c @@ -1266,7 +1266,7 @@ JNI_FN(MuPDFCore_searchPage)(JNIEnv * env, jobject thiz, jstring jtext) fz_scale(&ctm, zoom, zoom); sheet = fz_new_stext_sheet(ctx); text = fz_new_stext_page(ctx, fz_bound_page(ctx, pc->page, &mediabox)); - dev = fz_new_stext_device(ctx, sheet, text); + dev = fz_new_stext_device(ctx, sheet, text, 0); fz_run_page(ctx, pc->page, dev, &ctm, NULL); fz_close_device(ctx, dev); fz_drop_device(ctx, dev); @@ -1358,7 +1358,7 @@ JNI_FN(MuPDFCore_text)(JNIEnv * env, jobject thiz) fz_scale(&ctm, zoom, zoom); sheet = fz_new_stext_sheet(ctx); text = fz_new_stext_page(ctx, fz_bound_page(ctx, pc->page, &mediabox)); - dev = fz_new_stext_device(ctx, sheet, text); + dev = fz_new_stext_device(ctx, sheet, text, 0); fz_run_page(ctx, pc->page, dev, &ctm, NULL); fz_close_device(ctx, dev); fz_drop_device(ctx, dev); @@ -1468,7 +1468,7 @@ JNI_FN(MuPDFCore_textAsHtml)(JNIEnv * env, jobject thiz) ctm = fz_identity; sheet = fz_new_stext_sheet(ctx); text = fz_new_stext_page(ctx, fz_bound_page(ctx, pc->page, &mediabox)); - dev = fz_new_stext_device(ctx, sheet, text); + dev = fz_new_stext_device(ctx, sheet, text, 0); fz_run_page(ctx, pc->page, dev, &ctm, NULL); fz_close_device(ctx, dev); fz_drop_device(ctx, dev); |