aquarat / plotinum

Automatically exported from code.google.com/p/plotinum
MIT License
0 stars 1 forks source link

FunitsPerEm undefined #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. execute first example
2.
3.

What is the expected output? What do you see instead?
allot like the demo

What version of the product are you using? On what operating system?

Please provide any additional information below.
I have Imac OSX 10.9.3.
The following is the error output:
# code.google.com/p/plotinum/vg
mygo/src/code.google.com/p/plotinum/vg/font.go:150: f.Font().FUnitsPerEm 
undefined (type *truetype.Font has no field or method FUnitsPerEm)
mygo/src/code.google.com/p/plotinum/vg/font.go:150: too many arguments in call 
to f.font.Bounds
mygo/src/code.google.com/p/plotinum/vg/font.go:151: f.Font().FUnitsPerEm 
undefined (type *truetype.Font has no field or method FUnitsPerEm)
mygo/src/code.google.com/p/plotinum/vg/font.go:162: f.font.FUnitsPerEm 
undefined (type *truetype.Font has no field or method FUnitsPerEm)
mygo/src/code.google.com/p/plotinum/vg/font.go:169: f.font.FUnitsPerEm 
undefined (type *truetype.Font has no field or method FUnitsPerEm)
mygo/src/code.google.com/p/plotinum/vg/font.go:169: too many arguments in call 
to f.font.Kerning
mygo/src/code.google.com/p/plotinum/vg/font.go:171: f.font.FUnitsPerEm 
undefined (type *truetype.Font has no field or method FUnitsPerEm)
mygo/src/code.google.com/p/plotinum/vg/font.go:171: too many arguments in call 
to f.font.HMetric
logout

Original issue reported on code.google.com by j.christ...@gmail.com on 17 Jun 2014 at 1:56

GoogleCodeExporter commented 9 years ago
I just updated, tried it, and it worked fine. When did you last install 
freetype-go? FUnitsPerEm was added back in 2012: 
https://code.google.com/p/freetype-go/source/detail?spec=svn15b6d4e041517055da50
fd23f5f4b4cc2c66ee94&r=15b6d4e041517055da50fd23f5f4b4cc2c66ee94.

Could you please try updating Plotinum and its dependencies and trying it 
again?:
go get -u -v code.google.com/p/plotinum/...

Original comment by burns.ethan@gmail.com on 17 Jun 2014 at 11:34

GoogleCodeExporter commented 9 years ago
I'm closing this. I believe that it's just a matter of updating your 
dependencies. Please reopen it if the issue persists.

Original comment by burns.ethan@gmail.com on 20 Jun 2014 at 10:14