[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
This commit is contained in:
Chris Loer
2017-11-30 12:38:06 -08:00
committed by Chris Loer
parent f1f2ebb019
commit 97e45d5fda
5 changed files with 209 additions and 1 deletions

View File

@@ -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