WIP disabled default font cache
This commit is contained in:
parent
5a77fece5e
commit
55aea0e8f2
1 changed files with 4 additions and 1 deletions
5
font.go
5
font.go
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue