diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-11-14 13:03:07 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-11-14 13:23:57 +0100 |
commit | 2216f9402a9ddf232e15fdd508b9123011af8bd3 (patch) | |
tree | 3b4e44be0e332bb9d957864fcde41057ed0fcb79 /platform/android/viewer/jni/mupdf.c | |
parent | 018253cfc8a34805c4fc1e0f955e3696db60886a (diff) | |
download | mupdf-2216f9402a9ddf232e15fdd508b9123011af8bd3.tar.xz |
Add/fix page coordinates to link targets.
Correctly transformed target coordinates for PDF.
Target coordinates for EPUB and HTML.
Diffstat (limited to 'platform/android/viewer/jni/mupdf.c')
-rw-r--r-- | platform/android/viewer/jni/mupdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/viewer/jni/mupdf.c b/platform/android/viewer/jni/mupdf.c index 895f6912..236efbf2 100644 --- a/platform/android/viewer/jni/mupdf.c +++ b/platform/android/viewer/jni/mupdf.c @@ -1903,7 +1903,7 @@ JNI_FN(MuPDFCore_getPageLinksInternal)(JNIEnv * env, jobject thiz, int pageNumbe { linkInfo = (*env)->NewObject(env, linkInfoInternalClass, ctorInternal, (float)rect.x0, (float)rect.y0, (float)rect.x1, (float)rect.y1, - fz_resolve_link(glo->ctx, link->doc, link->uri)); + fz_resolve_link(glo->ctx, link->doc, link->uri, NULL, NULL)); } else { |