summaryrefslogtreecommitdiff
path: root/platform/macos/config.cmake
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2017-11-21 15:12:07 -0800
committerChris Loer <chris.loer@mapbox.com>2017-12-11 10:43:00 -0800
commit1661af1cb409505bb362e2274cb61f097ad25864 (patch)
tree184b9000d4b5a2f8760468eaa018adc9d6de24ae /platform/macos/config.cmake
parent730054276ed6a5dc7ba9d19765b8457a818854f7 (diff)
downloadqtlocation-mapboxgl-1661af1cb409505bb362e2274cb61f097ad25864.tar.gz
[core] Enable local glyph generation using TinySDF.
- Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization. - Default platform implementation doesn't locally generate any glyphs -> no behavior change - Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs - Rename glyph_loader.test to glyph_manager.test
Diffstat (limited to 'platform/macos/config.cmake')
-rw-r--r--platform/macos/config.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/macos/config.cmake b/platform/macos/config.cmake
index 45cae9bf7d..7c52e7d537 100644
--- a/platform/macos/config.cmake
+++ b/platform/macos/config.cmake
@@ -18,6 +18,7 @@ macro(mbgl_platform_core)
PRIVATE platform/darwin/src/nsthread.mm
PRIVATE platform/darwin/src/string_nsstring.mm
PRIVATE platform/default/bidi.cpp
+ PRIVATE platform/default/local_glyph_rasterizer.cpp
PRIVATE platform/default/thread_local.cpp
PRIVATE platform/default/utf.cpp