Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Fonts > API/Runtime/SlateCore/Fonts/FSlateFontCache
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
| Include | #include "Fonts/FontCache.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp |
int8 GetKerning
(
const FFontData & InFontData,
const float InSize,
TCHAR First,
TCHAR Second,
float Scale
) const
Remarks
Calculates the kerning amount for a pair of characters The kerning amount, 0 if no kerning
Parameters
| Name | Description |
|---|---|
| InFontData | The font that used to draw the string with the first and second characters |
| InSize | The size of the font to draw |
| First | The first character in the pair |
| Second | The second character in the pair |