From b7e2b11a75fd1b12d0ff948b9602fcd3db3779cf Mon Sep 17 00:00:00 2001 From: Chris Loer Date: Tue, 18 Dec 2018 17:26:31 -0800 Subject: [core] Support for excluding ideographic glyphs from offline downloads. --- src/mbgl/text/glyph_range.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mbgl/text') diff --git a/src/mbgl/text/glyph_range.hpp b/src/mbgl/text/glyph_range.hpp index 35a1f74b94..17dc8c8272 100644 --- a/src/mbgl/text/glyph_range.hpp +++ b/src/mbgl/text/glyph_range.hpp @@ -11,6 +11,8 @@ using GlyphRange = std::pair; constexpr uint32_t GLYPHS_PER_GLYPH_RANGE = 256; constexpr uint32_t GLYPH_RANGES_PER_FONT_STACK = 256; +// 256 - 126 ranges skipped w/ i18n::allowsFixedWidthGlyphGeneration +constexpr uint32_t NON_IDEOGRAPH_GLYPH_RANGES_PER_FONT_STACK = 130; } // end namespace mbgl -- cgit v1.2.1