diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-29 14:38:55 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-29 16:03:34 +0100 |
commit | d065aca45bce7ee3668f59ca13cda46b52bc9bd6 (patch) | |
tree | efb949e13ab9606576c164089b055fda452710af /platform/java/mupdf_native.c | |
parent | 9add1e5e9ceb80afad8bda54ac34bfa8dfb59c61 (diff) | |
download | mupdf-d065aca45bce7ee3668f59ca13cda46b52bc9bd6.tar.xz |
jni: Use boolean wmode in text and font classes.
Diffstat (limited to 'platform/java/mupdf_native.c')
-rw-r--r-- | platform/java/mupdf_native.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/java/mupdf_native.c b/platform/java/mupdf_native.c index 064390e4..f47d9bf6 100644 --- a/platform/java/mupdf_native.c +++ b/platform/java/mupdf_native.c @@ -2309,7 +2309,7 @@ FUN(Font_encodeCharacter)(JNIEnv *env, jobject self, jint unicode) } JNIEXPORT jfloat JNICALL -FUN(Font_advanceGlyph)(JNIEnv *env, jobject self, jint glyph, jint wmode) +FUN(Font_advanceGlyph)(JNIEnv *env, jobject self, jint glyph, jboolean wmode) { fz_context *ctx = get_context(env); fz_font *font = from_Font(env, self); @@ -3027,7 +3027,7 @@ FUN(Text_getBounds)(JNIEnv *env, jobject self, jobject jstroke, jobject jctm) } JNIEXPORT void JNICALL -FUN(Text_showGlyph)(JNIEnv *env, jobject self, jobject font_, jobject matrix_, jint glyph, jint unicode, jint wmode) +FUN(Text_showGlyph)(JNIEnv *env, jobject self, jobject font_, jobject matrix_, jint glyph, jint unicode, jboolean wmode) { fz_context *ctx = get_context(env); fz_text *text = from_Text(env, self); @@ -3044,7 +3044,7 @@ FUN(Text_showGlyph)(JNIEnv *env, jobject self, jobject font_, jobject matrix_, j } JNIEXPORT void JNICALL -FUN(Text_showString)(JNIEnv *env, jobject self, jobject font_, jobject matrix_, jstring string_, jint wmode) +FUN(Text_showString)(JNIEnv *env, jobject self, jobject font_, jobject matrix_, jstring string_, jboolean wmode) { fz_context *ctx = get_context(env); fz_text *text = from_Text(env, self); |