summaryrefslogtreecommitdiff
path: root/platform/qt/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/qt/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/qt/config.cmake')
-rw-r--r--platform/qt/config.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/qt/config.cmake b/platform/qt/config.cmake
index e3b15fddfd..9417963767 100644
--- a/platform/qt/config.cmake
+++ b/platform/qt/config.cmake
@@ -49,6 +49,8 @@ macro(mbgl_platform_core)
target_sources(mbgl-core PRIVATE platform/qt/src/bidi.cpp)
endif()
+ target_sources(mbgl-core PRIVATE platform/default/local_glyph_rasterizer.cpp)
+
endmacro()