111 void LoadGlyphsFromCodePointRange(std::uint32_t begin, std::uint32_t end);
117 void EnsureGlyphs(
const std::vector<std::uint32_t>& codePoints);
123 void EnsureGlyphs(
const std::vector<GlyphIndex>& glyphIndexes);
129 void StoreFontAtlasesInFiles(
bool in);
149 std::string GetFontAtlasTextureName(
GlyphIndex glyphIndex)
const;
156 std::string GetFontAtlasMaterialName(
GlyphIndex glyphIndex)
const;
163 GlyphIndex GetIndexFromCodePoint(std::uint32_t codePoint)
const;
169 FT_Face GetFontFace();
177 std::pair<GlyphMetrics, ImageData> CreateGlyphBitmapBy(
GlyphIndex glyphIndex);
184 std::pair<GlyphMetrics, ImageData> CreateGlyphBitmapBy(std::uint32_t codePoint);
190 void CreateFontAtlasFromList(
const std::vector<GlyphIndex>& glyphIndexes);
197 void CreateFontAtlasFromRange(std::uint32_t begin, std::uint32_t end);
204 bool HasGlyph(uint32_t codePoint)
const;
216 FT_Error mErrorResult = FT_Err_Ok;
225 std::unordered_map<std::uint32_t, std::pair<GlyphMetrics, std::string>>
mGlyphsByIndex;
232 bool bStoreFontAtlasesInFiles =
false;
Central text system manager and font resource registry.
Aggregates pointers to global rendering resource managers.