@@ -971,12 +971,20 @@ void UninitFreeType()
UnloadFace(&_face_mono);
FT_Done_FreeType(_library);
_library = NULL;
}
/**
* Reset cached glyphs.
*/
void ClearFontCache()
{
ResetGlyphCache(true);
ResetGlyphCache(false);
static FT_Face GetFontFace(FontSize size)
switch (size) {
default: NOT_REACHED();
case FS_NORMAL: return _face_medium;