SDL_ttf 2.0.14 - TTF_SetFontKerning not working as expected |
imapersonman
|
According to the documentation, a simple call to TTF_SetFontKerning(TTF_Font *font, int allowed) will turn on Kerning for a specific font when allowed is non-zero, and will turn off Kerning for a specific font when allowed is zero. When using this function in a project I didn't see a difference between fonts with kerning on and fonts with kerning off. I wrote a test app to look at it more closely. Here is an image of the output.
http://i.imgur.com/jaA5O99.png?1 The text in green has kerning turned on, and the text in blue has kerning turned off. Kerning is still being applied to both strings. Here is the source code for the test application.
Am I doing something wrong or is this a bug? |
|||||||||||||
|