diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-11-30 12:38:06 -0800 |
---|---|---|
committer | Chris Loer <chris.loer@mapbox.com> | 2017-12-11 10:43:00 -0800 |
commit | 00ed34f7d700ae255eae1af1ca46b939ffee219d (patch) | |
tree | d931d219ebb4a309a8dfad70c8ee159e971ae471 /platform/android/src/jni.cpp | |
parent | 3713102005b8243ade727f8084a6236954c1a1d6 (diff) | |
download | qtlocation-mapboxgl-00ed34f7d700ae255eae1af1ca46b939ffee219d.tar.gz |
[android] Android implementation of local CJK glyph rendering
- Draws bold version of glyph if font stack contains string "bold"
- Not hooked up to global configuration yet
Diffstat (limited to 'platform/android/src/jni.cpp')
-rwxr-xr-x | platform/android/src/jni.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/src/jni.cpp b/platform/android/src/jni.cpp index 63566e1772..88ad0edb9e 100755 --- a/platform/android/src/jni.cpp +++ b/platform/android/src/jni.cpp @@ -51,6 +51,7 @@ #include "style/light.hpp" #include "snapshotter/map_snapshotter.hpp" #include "snapshotter/map_snapshot.hpp" +#include "text/local_glyph_rasterizer_jni.hpp" namespace mbgl { namespace android { @@ -188,6 +189,9 @@ void registerNatives(JavaVM *vm) { // Snapshotter MapSnapshotter::registerNative(env); MapSnapshot::registerNative(env); + + // text + LocalGlyphRasterizer::registerNative(env); } } // namespace android |