Fix example/freetype for the s/Fix32/fixed.Int26_6/ change.

This commit is contained in:
Nigel Tao 2015-08-18 16:08:44 +10:00
parent 856a70c395
commit a9554eda48
1 changed files with 1 additions and 1 deletions

View File

@ -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 {