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