diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-26 13:38:11 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-26 14:55:49 -0700 |
commit | a9842dbd6bbd370f185505212ed3441b29e25240 (patch) | |
tree | 1f93c25a8c5b087547c7c1f1c4f0bc9bc182cba2 /src/mbgl/text | |
parent | 8764c20621f09f78e3c0c66790c46f56c964f657 (diff) | |
download | qtlocation-mapboxgl-a9842dbd6bbd370f185505212ed3441b29e25240.tar.gz |
[core] Extract some GlyphRange-related constants
Diffstat (limited to 'src/mbgl/text')
-rw-r--r-- | src/mbgl/text/glyph_range.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/text/glyph_range.hpp b/src/mbgl/text/glyph_range.hpp index aa11b35f5e..dd39e092b7 100644 --- a/src/mbgl/text/glyph_range.hpp +++ b/src/mbgl/text/glyph_range.hpp @@ -17,4 +17,7 @@ struct GlyphRangeHash { typedef std::unordered_set<GlyphRange, GlyphRangeHash> GlyphRangeSet; +constexpr uint32_t GLYPHS_PER_GLYPH_RANGE = 256; +constexpr uint32_t GLYPH_RANGES_PER_FONT_STACK = 256; + } // end namespace mbgl |