Perfect, thank you both!
It works like a charm, using gfind.
Search found 712 matches
- Sat Jun 23, 2012 8:21 am
- Forum: Support and Development
- Topic: [SOLVED] font.getWidth and Umlauts
- Replies: 3
- Views: 2684
- Fri Jun 22, 2012 4:58 pm
- Forum: Support and Development
- Topic: [SOLVED] font.getWidth and Umlauts
- Replies: 3
- Views: 2684
[SOLVED] font.getWidth and Umlauts
I'm having troubles with font.getWidth(). It crashes when it reaches an umlaut: My code: buttonFont = love.graphics.newFont( 18 ) function love.load(arg) titleStr = "" fullTitle = "schrödinger" buttonFont:getWidth( fullTitle ) j = 0 while buttonFont:getWidth( titleStr ) < buttonW...