summaryrefslogtreecommitdiff
path: root/src/mbgl/text/harfbuzz_shaper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/harfbuzz_shaper.hpp')
-rw-r--r--src/mbgl/text/harfbuzz_shaper.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/text/harfbuzz_shaper.hpp b/src/mbgl/text/harfbuzz_shaper.hpp
index 31e10adf65..75130e7306 100644
--- a/src/mbgl/text/harfbuzz_shaper.hpp
+++ b/src/mbgl/text/harfbuzz_shaper.hpp
@@ -13,7 +13,8 @@ namespace harfbuzz {
RequiredGlyphsForFont getGlyphIDs(const LocalFonts& fonts, const std::string& u8label);
-void applyShaping(hb_font_t* font, const std::string& u8text, std::vector<PositionedGlyph>& positionedGlyphs, float& current_x, float& current_y);
+std::vector<std::pair<char16_t,double>> getClusterWidths(hb_font_t* font, const std::u16string& u16text);
+void applyShaping(hb_font_t* font, const std::u16string& u16text, std::vector<PositionedGlyph>& positionedGlyphs, float& current_x, float& current_y);
}
}