cannot use nil as type truetype.Hinting in function argument
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
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
Google Code Exporter commented
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
Google Code Exporter commented
Thanks
Original comment by legoff.l...@gmail.com
on 12 Feb 2014 at 8:34
- Changed state: Done