Hello all, I am experimenting with the latest .8.2-beta and I am unable to get the TTF support to work properly. Using one of the project templates, including a ttf font, and simply modifying the "Hello World" label causes the application to crash with the follow stack trace:
2 CoreFoundation 0x302d6ffb -[NSObject doesNotRecognizeSelector:] + 187
3 CoreFoundation 0x3026e056 ___forwarding___ + 902
4 CoreFoundation 0x3024a0a2 _CF_forwarding_prep_0 + 50
5 FontTest 0x0001dba7 -[Texture2D(Text) initWithString:fontName:fontSize:] + 119
I have isolated it down to line 337 of Texture2D.m:
dim = [string sizeWithZFont:zFont];
It appears that the category method FontLabel adds (sizeWithZFont) is not being recognized. Has anyone else experienced this problem? I ran into it originally by upgrading an .8.1 app to .8.2-beta and thought it might be a problem with my migration, however it still happens in the .8.2-beta project template. Any assistance with this is appreciated.
Brian Dittmer
http://www.sadrobotsoftware.com