diff options
author | Chris Loer <chris.loer@gmail.com> | 2016-11-17 14:12:28 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-11-17 14:33:03 -0800 |
commit | bceeba29a3fa85105c21718ed0be8704508ab585 (patch) | |
tree | 1fd7bba911a0c407d656ca53257631b5ec0bfea1 /src/mbgl/layout/symbol_layout.hpp | |
parent | 40b0c8d0760f8a767ef4646607ac63251d86de8d (diff) | |
download | qtlocation-mapboxgl-bceeba29a3fa85105c21718ed0be8704508ab585.tar.gz |
[core] Add ICU package for Bidirectional text support and arabic text shaping.
Apply bidi and shaping in symbol_layout.
Add utility functions for converting to and from UTF-16.
Diffstat (limited to 'src/mbgl/layout/symbol_layout.hpp')
-rw-r--r-- | src/mbgl/layout/symbol_layout.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/layout/symbol_layout.hpp b/src/mbgl/layout/symbol_layout.hpp index 9a580900dd..c21398fabf 100644 --- a/src/mbgl/layout/symbol_layout.hpp +++ b/src/mbgl/layout/symbol_layout.hpp @@ -4,6 +4,7 @@ #include <mbgl/style/layers/symbol_layer_properties.hpp> #include <mbgl/layout/symbol_feature.hpp> #include <mbgl/layout/symbol_instance.hpp> +#include <mbgl/text/bidi.hpp> #include <memory> #include <map> @@ -91,6 +92,8 @@ private: GlyphRangeSet ranges; std::vector<SymbolInstance> symbolInstances; std::vector<SymbolFeature> features; + + BiDi bidi; // Consider moving this up to geometry tile worker to reduce reinstantiation costs; use of BiDi/ubiditransform object must be constrained to one thread }; } // namespace mbgl |