Add a truetype.Face type.
Its implementation is mostly a copy/paste of the freetype.Context type. Follow-up commits will make it more efficient. Also add an example that uses a truetype.Face and the golang.org/x/exp/shiny/font package to draw text.
Showing
example/drawer/main.go
0 → 100644
truetype/face.go
0 → 100644
想要评论请 注册 或 登录