Revert "WIP disabled default font cache"

This reverts commit 55aea0e8f2.
This commit is contained in:
gerald1248 2016-12-13 20:23:52 +01:00
parent 55aea0e8f2
commit f44aa1eae0
1 changed files with 1 additions and 4 deletions

View File

@ -144,14 +144,11 @@ func (cache *defaultFontCache) Store(fontData FontData, font *truetype.Font) {
}
var (
/*
defaultFonts = &defaultFontCache{
fonts: make(map[string]*truetype.Font),
folder: "../resource/font",
namer: FontFileName,
}
*/
//fontCache FontCache = defaultFonts
fontCache FontCache = nil
fontCache FontCache = defaultFonts
)