Fix example/freetype for the s/Fix32/fixed.Int26_6/ change.
This commit is contained in:
parent
856a70c395
commit
a9554eda48
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ func main() {
|
|||
}
|
||||
|
||||
// Draw the text.
|
||||
pt := freetype.Pt(10, 10+int(c.PointToFix32(*size)>>8))
|
||||
pt := freetype.Pt(10, 10+int(c.PointToFix32(*size)>>6))
|
||||
for _, s := range text {
|
||||
_, err = c.DrawString(s, pt)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue