remove unused global variables

This commit is contained in:
Achille Roussel 2015-11-18 15:00:27 -08:00
parent 598513aa60
commit 6c047429f6

View file

@ -11,12 +11,6 @@ import (
"github.com/golang/freetype/truetype" "github.com/golang/freetype/truetype"
) )
var (
fontFolder = "../resource/font/"
fonts = make(map[string]*truetype.Font)
fontNamer FontFileNamer = FontFileName
)
// FontStyle defines bold and italic styles for the font // FontStyle defines bold and italic styles for the font
// It is possible to combine values for mixed styles, eg. // It is possible to combine values for mixed styles, eg.
// FontData.Style = FontStyleBold | FontStyleItalic // FontData.Style = FontStyleBold | FontStyleItalic