You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
365 B

package base64Captcha
import "github.com/golang/freetype/truetype"
// FontsStorage interface for working with fonts
type FontsStorage interface {
// LoadFontByName returns the font from the storage
LoadFontByName(name string) *truetype.Font
// LoadFontsByNames returns multiple fonts from storage
LoadFontsByNames(assetFontNames []string) []*truetype.Font
}