74 bool LoadFromFile(
const std::string& Filename,
unsigned int CharSize = 30,
const Unicode::Text& Charset = ourDefaultCharset);
87 bool LoadFromMemory(
const char* Data, std::size_t SizeInBytes,
unsigned int CharSize = 30,
const Unicode::Text& Charset = ourDefaultCharset);
96 unsigned int GetCharacterSize()
const;
107 const Glyph& GetGlyph(Uint32 CodePoint)
const;
115 const Image& GetImage()
const;
123 static const Font& GetDefaultFont();
127 friend class priv::FontLoader;
132 static Uint32 ourDefaultCharset[];
138 unsigned int myCharSize;
139 std::map<Uint32, Glyph> myGlyphs;
This class is an abstract definition of a unicode text, it can be converted from and to any kind of s...