iand / draw2d

A Fork of code.google.com/p/draw2d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot use nil as type truetype.Hinting in function argument

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?

$ go get -u code.google.com/p/draw2d/draw2d/
# code.google.com/p/draw2d/draw2d
/home/mischief/code/go/src/code.google.com/p/draw2d/draw2d/image.go:166: cannot 
use nil as type truetype.Hinting in function argument
/home/mischief/code/go/src/code.google.com/p/draw2d/draw2d/image.go:225: cannot 
use nil as type truetype.Hinting in function argument

What is the expected output? What do you see instead?
no output - successful compilation.

Draw2d Package version , Go version ?
draw2d ec77dc18b964
go version devel +ae14bde9ce3c Wed Feb 05 07:32:16 2014 -0800 linux/amd64



you just need to replace 'nil' on these lines with either 0, or the correct 
constant from the truetype package.

Original issue reported on code.google.com by mischief@offblast.org on 12 Feb 2014 at 4:11

sorry, i didn't see this was already reported in #29. please close it.

Original comment by mischief@offblast.org on 12 Feb 2014 at 4:11

Thanks

Original comment by legoff.l...@gmail.com on 12 Feb 2014 at 8:34

  • Changed state: Done