From 1661af1cb409505bb362e2274cb61f097ad25864 Mon Sep 17 00:00:00 2001 From: Chris Loer Date: Tue, 21 Nov 2017 15:12:07 -0800 Subject: [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 --- cmake/core-files.cmake | 1 + cmake/test-files.cmake | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/core-files.cmake b/cmake/core-files.cmake index 138fea1bcb..15812da42d 100644 --- a/cmake/core-files.cmake +++ b/cmake/core-files.cmake @@ -554,6 +554,7 @@ set(MBGL_CORE_FILES src/mbgl/text/glyph_pbf.cpp src/mbgl/text/glyph_pbf.hpp src/mbgl/text/glyph_range.hpp + src/mbgl/text/local_glyph_rasterizer.hpp src/mbgl/text/placement.cpp src/mbgl/text/placement.hpp src/mbgl/text/quads.cpp diff --git a/cmake/test-files.cmake b/cmake/test-files.cmake index 273852602f..1438e463d5 100644 --- a/cmake/test-files.cmake +++ b/cmake/test-files.cmake @@ -113,7 +113,7 @@ set(MBGL_TEST_FILES # text test/text/cross_tile_symbol_index.test.cpp - test/text/glyph_loader.test.cpp + test/text/glyph_manager.test.cpp test/text/glyph_pbf.test.cpp test/text/quads.test.cpp -- cgit v1.2.1