Cannot build; errors with as/font
sh4r1k7 opened this issue · comments
Gennadiy Volkov commented
+(128) pechkin ~ % \go get -u -t github.com/as/a
# github.com/as/ui/win
go/src/github.com/as/ui/win/win.go:25:3: cannot use "github.com/as/font".NewFace(11) (type "github.com/as/font"
.Face) as type "github.com/as/frame/vendor/github.com/as/font".Face in field value:
"github.com/as/font".Face does not implement "github.com/as/frame/vendor/github.com/as/font".Face (wron
g type for Glyph method)
have Glyph("golang.org/x/image/math/fixed".Point26_6, rune) (image.Rectangle, image.Image, imag
e.Point, "golang.org/x/image/math/fixed".Int26_6, bool)
want Glyph("github.com/as/frame/vendor/golang.org/x/image/math/fixed".Point26_6, rune) (image.R
ectangle, image.Image, image.Point, "github.com/as/frame/vendor/golang.org/x/image/math/fixed".Int26_6, bool)
go/src/github.com/as/ui/win/win.go:203:33: cannot use w.Config.Frame.Face (type "github.com/as/frame/vendor/git
hub.com/as/font".Face) as type "golang.org/x/image/font".Face in argument to "github.com/as/font".Open:
"github.com/as/frame/vendor/github.com/as/font".Face does not implement "golang.org/x/image/font".Face
(wrong type for Glyph method)
have Glyph("github.com/as/frame/vendor/golang.org/x/image/math/fixed".Point26_6, rune) (image.R
ectangle, image.Image, image.Point, "github.com/as/frame/vendor/golang.org/x/image/math/fixed".Int26_6, bool)
want Glyph("golang.org/x/image/math/fixed".Point26_6, rune) (image.Rectangle, image.Image, imag
e.Point, "golang.org/x/image/math/fixed".Int26_6, bool)
go/src/github.com/as/ui/win/win.go:209:22: cannot use ft (type "github.com/as/font".Face) as type "github.com/a
s/frame/vendor/github.com/as/font".Face in assignment:
"github.com/as/font".Face does not implement "github.com/as/frame/vendor/github.com/as/font".Face (wron
g type for Glyph method)
have Glyph("golang.org/x/image/math/fixed".Point26_6, rune) (image.Rectangle, image.Image, imag
e.Point, "golang.org/x/image/math/fixed".Int26_6, bool)
want Glyph("github.com/as/frame/vendor/golang.org/x/image/math/fixed".Point26_6, rune) (image.R
ectangle, image.Image, image.Point, "github.com/as/frame/vendor/golang.org/x/image/math/fixed".Int26_6, bool)
Gennadiy Volkov commented
thanks