blob: 31e10adf6592fdd97bfae09fa926e455402a3339 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include <set>
#include <string>
#include <mbgl/text/glyph.hpp>
#include <mbgl/text/font_store.hpp>
struct hb_font_t;
namespace mbgl {
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);
}
}
|