Files
ordoor/internal/conv/font.go

24 lines
414 B
Go
Raw Normal View History

package conv
import (
"fmt"
2019-12-31 01:55:58 +00:00
"code.ur.gs/lupine/ordoor/internal/fonts"
)
type Font struct {
Name string
}
2019-12-29 23:40:30 +00:00
func (f *Font) Output(to interface{}, m interface{}, format string, args ...interface{}) {
2019-12-29 23:40:30 +00:00
// FIXME: actually output some text onto screen
2019-12-29 23:40:30 +00:00
fmt.Printf(format+"\n", args...)
}
func ConvertFont(font *fonts.Font) *Font {
// FIXME: actually use the pixel data in font
2019-12-29 23:40:30 +00:00
return &Font{Name: font.Name}
}