summaryrefslogtreecommitdiff
path: root/src/mbgl/text/shaping.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/shaping.hpp')
-rw-r--r--src/mbgl/text/shaping.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/text/shaping.hpp b/src/mbgl/text/shaping.hpp
index 1043aad6bf..83a9dfd6e2 100644
--- a/src/mbgl/text/shaping.hpp
+++ b/src/mbgl/text/shaping.hpp
@@ -96,5 +96,9 @@ Shaping getShaping(const TaggedString& string,
float layoutTextSize,
float layoutTextSizeAtBucketZoomLevel,
bool allowVerticalPlacement);
+std::vector<GlyphID> getShapedGlyphs(const TaggedString& formattedString,
+ const float maxWidth,
+ const WritingModeType writingMode,
+ bool allowVerticalPlacement);
} // namespace mbgl