MCPcopy Create free account
hub / github.com/EngoEngine/engo / fontLoader

Struct fontLoader

common/font_filetype.go:26–28  ·  view source on GitHub ↗

fontLoader is responsible for managing `.ttf` files within `engo.Files`

Source from the content-addressed store, hash-verified

24
25// fontLoader is responsible for managing `.ttf` files within `engo.Files`
26type fontLoader struct {
27 fonts map[string]FontResource
28}
29
30// Load processes the data stream and parses it as a freetype font
31func (i *fontLoader) Load(url string, data io.Reader) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected