[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.3.8 TTF_GetFontKerning

int TTF_GetFontKerning(TTF_Font *font)

The loaded font to get the kerning setting of.

Get the current kerning setting of the loaded font.

NOTE: Passing a NULL font into this function will cause a segfault.

Returns: 0(zero) if kerning is disabled. A non-zero value is returned when enabled. The default for a newly loaded font is enabled(1).

// get the loaded font's kerning setting
//TTF_Font *font;
int kerning=TTF_GetFontKerning(font);
printf("The font kerning is currently set to %s\n",

See Also:
3.3.9 TTF_SetFontKerning,
see section Kerning,
Kerning @ Wikipedia

This document was generated on November, 13 2009 using texi2html