24 lines
414 B
Go
24 lines
414 B
Go
package conv
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"code.ur.gs/lupine/ordoor/internal/fonts"
|
|
)
|
|
|
|
type Font struct {
|
|
Name string
|
|
}
|
|
|
|
func (f *Font) Output(to interface{}, m interface{}, format string, args ...interface{}) {
|
|
|
|
// FIXME: actually output some text onto screen
|
|
|
|
fmt.Printf(format+"\n", args...)
|
|
}
|
|
|
|
func ConvertFont(font *fonts.Font) *Font {
|
|
// FIXME: actually use the pixel data in font
|
|
return &Font{Name: font.Name}
|
|
}
|