WIP disabled default font cache

This commit is contained in:
gerald1248 2016-12-11 02:12:36 +01:00
parent 5a77fece5e
commit 55aea0e8f2
1 changed files with 4 additions and 1 deletions

View File

@ -144,11 +144,14 @@ 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 = defaultFonts
fontCache FontCache = nil
)