diff options
author | Chris Loer <chris.loer@gmail.com> | 2018-12-18 17:26:31 -0800 |
---|---|---|
committer | Chris Loer <chris.loer@gmail.com> | 2018-12-21 10:31:40 -0800 |
commit | 2171ded437f5dff42f17b5e7eb38a01f6c44d2c0 (patch) | |
tree | cc64020e48a9ad9942227f43df38ca3fdb14bcee /src | |
parent | a408b2f5d5708e4b9fb7a870b4b58cd96eee9609 (diff) | |
download | qtlocation-mapboxgl-2171ded437f5dff42f17b5e7eb38a01f6c44d2c0.tar.gz |
[core] Support for excluding ideographic glyphs from offline downloads.
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/text/glyph_range.hpp | 2 |
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 |