112 void LoadGlyphsFromCodePointRange(std::uint32_t begin, std::uint32_t end);
118 void EnsureGlyphs(
const std::vector<std::uint32_t>& codePoints);
124 void EnsureGlyphs(
const std::vector<GlyphIndex>& glyphIndexes);
130 void StoreFontAtlasesInFiles(
bool in);
150 std::string GetFontAtlasTextureName(
GlyphIndex glyphIndex)
const;
157 std::string GetFontAtlasMaterialName(
GlyphIndex glyphIndex)
const;
164 GlyphIndex GetIndexFromCodePoint(std::uint32_t codePoint)
const;
170 FT_Face GetFontFace();
178 std::pair<GlyphMetrics, ImageData> CreateGlyphBitmapBy(
GlyphIndex glyphIndex);
185 std::pair<GlyphMetrics, ImageData> CreateGlyphBitmapBy(std::uint32_t codePoint);
191 void CreateFontAtlasFromList(
const std::vector<GlyphIndex>& glyphIndexes);
198 void CreateFontAtlasFromRange(std::uint32_t begin, std::uint32_t end);
205 bool HasGlyph(uint32_t codePoint)
const;
217 FT_Error mErrorResult = FT_Err_Ok;
226 std::unordered_map<std::uint32_t, std::pair<GlyphMetrics, std::string>>
mGlyphsByIndex;
233 bool bStoreFontAtlasesInFiles =
false;
Central text system manager and font resource registry.
Aggregates pointers to global rendering resource managers.