Moved defaultfont to default/font

This commit is contained in:
Sasha Koshka 2023-03-31 13:45:52 -04:00
parent c1e2bf46a6
commit e7ec9ad6f3
2 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
package defaultfont
package font
import "golang.org/x/image/font/basicfont"
var FaceRegular = basicfont.Face7x13
// FIXME: make bold, italic, and bold italic masks by processing the Face7x13
// TODO: make bold, italic, and bold italic masks by processing the Face7x13
// mask.
var FaceBold = &basicfont.Face {

View File

@ -10,7 +10,7 @@ import "git.tebibyte.media/sashakoshka/tomo"
import "git.tebibyte.media/sashakoshka/tomo/data"
import "git.tebibyte.media/sashakoshka/tomo/artist"
import "git.tebibyte.media/sashakoshka/tomo/canvas"
import "git.tebibyte.media/sashakoshka/tomo/defaultfont"
import defaultfont "git.tebibyte.media/sashakoshka/tomo/default/font"
import "git.tebibyte.media/sashakoshka/tomo/artist/patterns"
//go:embed assets/wintergreen.png