[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
void TTF_SetFontKerning(TTF_Font *font, int allowed)
Set whther to use kerning when rendering the loaded font. This has no effect on individual glyphs, but rather when rendering whole strings of characters, at least a word at a time. Perhaps the only time to disable this is when kerning is not working for a specific font, resulting in overlapping glyphs or abnormal spacing within words.
NOTE: Passing a NULL font into this function will cause a segfault.
|
See Also:
3.3.8 TTF_GetFontKerning,
see section Kerning,
Kerning @ Wikipedia