File diff r19115:e871966d9999 → r19116:609e37882a23
src/fontcache.cpp
Show inline comments
 
@@ -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;