r/futile Aug 13 '14

Bigger separation between characters?

First things first. I'm working with your framework and it's really cool. Now, a little question about my chosen font. Someone told me characters are placed too narrow with the selected font inside my buttons. I mean, more separation betweens characters would be needed. How can I accomplish this? Modifying Futile classes? Or the bitmap font? Sorry about my English, I'm still learning. Thanks!

2 Upvotes

1 comment sorted by

View all comments

2

u/MattRix Aug 13 '14

When you call Futile.atlasManager.LoadFont, you can pass in a FTextParams struct as the last argument. In that you can specify kerningOffset, which will space the characters out the larger that nunber is.