vdobler/chart

go get currently broken on go1.0.2

Closed this issue · 2 comments

If I try to install the example, I get the following error:

$ go get -v github.com/vdobler/chart/example
github.com/vdobler/chart/imgg
# github.com/vdobler/chart/imgg
github.com/vdobler/chart/imgg/image.go:101: cannot use dpi (type int) as type float64 in function argument
github.com/vdobler/chart/imgg/image.go:110: c.FUnitToFix32 undefined (type *freetype.Context has no field or method FUnitToFix32)
github.com/vdobler/chart/imgg/image.go:110: cannot use prev (type truetype.Index) as type int32 in function argument
github.com/vdobler/chart/imgg/image.go:110: not enough arguments in call to ig.font.Kerning
github.com/vdobler/chart/imgg/image.go:112: c.FUnitToFix32 undefined (type *freetype.Context has no field or method FUnitToFix32)
github.com/vdobler/chart/imgg/image.go:112: cannot use index (type truetype.Index) as type int32 in function argument
github.com/vdobler/chart/imgg/image.go:112: not enough arguments in call to ig.font.HMetric
github.com/vdobler/chart/imgg/image.go:259: cannot use dpi (type int) as type float64 in function argument
github.com/vdobler/chart/imgg/image.go:267: c.FUnitToPixelRU undefined (type *freetype.Context has no field or method FUnitToPixelRU)
github.com/vdobler/chart/imgg/image.go:267: ig.font.UnitsPerEm undefined (type *truetype.Font has no field or method UnitsPerEm)
github.com/vdobler/chart/imgg/image.go:267: too many errors

Hi,

this was due to some changes to freetype. It should be fixed now.

On Sun, Sep 23, 2012 at 2:20 PM, Peter Waller notifications@github.comwrote:

If I try to install the example, I get the following error:

$ go get -v github.com/vdobler/chart/examplegithub.com/vdobler/chart/imgg

github.com/vdobler/chart/imgggithub.com/vdobler/chart/imgg/image.go:101: cannot use dpi (type int) as type float64 in function argumentgithub.com/vdobler/chart/imgg/image.go:110: c.FUnitToFix32 undefined (type *freetype.Context has no field or method FUnitToFix32)github.com/vdobler/chart/imgg/image.go:110: cannot use prev (type truetype.Index) as type int32 in function argumentgithub.com/vdobler/chart/imgg/image.go:110: not enough arguments in call to ig.font.Kerninggithub.com/vdobler/chart/imgg/image.go:112: c.FUnitToFix32 undefined (type *freetype.Context has no field or method FUnitToFix32)github.com/vdobler/chart/imgg/image.go:112: cannot use index (type truetype.Index) as type int32 in function argumentgithub.com/vdobler/chart/imgg/image.go:112: not enough arguments in call to ig.font.HMetricgithub.com/vdobler/chart/imgg/image.go:259: cannot use dpi (type int) as type float64 in function argumentgithub.com/vdobler/chart/imgg/image.go:267: c.FUnitToPixelRU undefined (type *freetype.Context has no field or method FUnitToPixelRU)github.com/vdobler/chart/imgg/image.go:267: ig.font.UnitsPerEm undefined (type *truetype.Font has no field or method UnitsPerEm)github.com/vdobler/chart/imgg/image.go:267: too many errors


Reply to this email directly or view it on GitHubhttps://github.com//issues/4.

Dr. Volker Dobler

Confirmed fixed.