summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2013-02-05 11:25:11 +0000
committerRobin Watts <robin.watts@artifex.com>2013-02-05 15:55:12 +0000
commitcb3934ac4cb871629ab88f4c25d2c7a4c00f3d5e (patch)
treec92e3791464cc9cf2a4b9ea21d77a20d061c869e /android
parent8f4bf3719354596677e8c03c70c9b4ba641b9eb2 (diff)
downloadmupdf-cb3934ac4cb871629ab88f4c25d2c7a4c00f3d5e.tar.xz
Android: use identity matrix in html extraction to improve font sizes
Diffstat (limited to 'android')
-rw-r--r--android/jni/mupdf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/android/jni/mupdf.c b/android/jni/mupdf.c
index 4555ac41..1ff87c7a 100644
--- a/android/jni/mupdf.c
+++ b/android/jni/mupdf.c
@@ -1272,7 +1272,6 @@ JNI_FN(MuPDFCore_textAsHtml)(JNIEnv * env, jobject thiz)
fz_text_sheet *sheet = NULL;
fz_text_page *text = NULL;
fz_device *dev = NULL;
- float zoom;
fz_matrix ctm;
globals *glo = get_globals(env, thiz);
fz_context *ctx = glo->ctx;
@@ -1291,8 +1290,7 @@ JNI_FN(MuPDFCore_textAsHtml)(JNIEnv * env, jobject thiz)
fz_rect mbrect;
int b, l, s, c;
- zoom = glo->resolution / 72;
- ctm = fz_scale(zoom, zoom);
+ ctm = fz_identity;
mbrect = fz_transform_rect(ctm, pc->media_box);
sheet = fz_new_text_sheet(ctx);
text = fz_new_text_page(ctx, mbrect);