|
ok so I've been playing around with TWL and Slick trying to get some text to display on a label. And I've managed that much but I've encountered an oddity where it seems that TWL will not properly grab the size of fonts. For some reason the FPScounter seems to work properly, and can display a border properly (sized etc). but if I try to create a label I have to manually set the box width, it wont automatically check the length of the text. furthermore, when I get the width of the box it always returns 0 for all of the widths, and if I get the font from the label theme, and getEM() it returns 0..
checking the font file shows that the widths/heights on all the characters are correct (and they display properly too). So I'm kind of at a loss as to why this is happening.
|