(svn r25860) -Fix [FS#5737] (r25570): When clearing font cache, also clear layout cache. (adf88)

This commit is contained in:
frosch
2013-10-13 13:28:06 +00:00
parent 122158b4d8
commit dcec8b9abd
2 changed files with 10 additions and 2 deletions

View File

@@ -159,7 +159,8 @@ static inline void InitializeUnicodeGlyphMap()
}
}
static inline void ClearFontCache() {
static inline void ClearFontCache()
{
for (FontSize fs = FS_BEGIN; fs < FS_END; fs++) {
FontCache::Get(fs)->ClearFontCache();
}