I cant get a return value from Font:getTextSize('ajjjjja')
example
standard = Font.load('standard.ttf')
standard:setPixelSizes(0,8)
test = standard:getTextSize('some text')
now test = nil.... ummm??? not a table or object
where can I get textWidth & textHeight values?
Anyone can help me ?
How to get working Font:getTextSize
Moderators: Shine, Insert_witty_name
-
- Posts: 3
- Joined: Tue Jan 10, 2006 9:57 pm
I didn't tested this function and as Murphy's law says, it doesn't work. I've added it to the bugs section at http://wiki.ps2dev.org/psp:lua_player:todos for the next release.