summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2018-12-18 17:26:31 -0800
committerChris Loer <chris.loer@mapbox.com>2018-12-21 15:13:48 -0800
commitb7e2b11a75fd1b12d0ff948b9602fcd3db3779cf (patch)
tree1571564df596c7720d8bcea8ebdd604032164f09 /src
parent7d8b4754077aeae576965cd7871d5d00578cdce4 (diff)
downloadqtlocation-mapboxgl-b7e2b11a75fd1b12d0ff948b9602fcd3db3779cf.tar.gz
[core] Support for excluding ideographic glyphs from offline downloads.
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/text/glyph_range.hpp2
1 files changed, 2 insertions, 0 deletions
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<uint16_t, uint16_t>;
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