Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Fonts
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
Include | #include "Fonts/FontCache.h" |
Syntax
struct FCharacterEntry
Remarks
Information for rendering one non-shaped character
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | BitmapRenderScale | Any additional scale that should be applied when rendering this glyph |
![]() |
TCHAR | Character | The character this entry is for |
![]() |
EFontFallback | FallbackLevel | The fallback level this character represents |
![]() |
const FFontData * | FontData | The raw font data this character was rendered with |
![]() |
float | FontScale | Scale that was applied when rendering this character |
![]() |
int16 | GlobalDescender | The largest vertical distance below the baseline for any character in the font |
![]() |
uint32 | GlyphIndex | The index of the glyph from the FreeType face that this entry is for |
![]() |
bool | HasKerning | 1 if this entry has kerning, 0 otherwise. |
![]() |
int16 | HorizontalOffset | The vertical distance from the origin to the left most border of the character |
![]() |
TSharedPtr< FFreeTypeKerningCache > | KerningCache | The kerning cache that this entry uses |
![]() |
uint16 | StartU | Start X location of the character in the texture |
![]() |
uint16 | StartV | Start Y location of the character in the texture |
![]() |
bool | SupportsOutline | 1 if this entry supports outline rendering, 0 otherwise. |
![]() |
uint8 | TextureIndex | Index to a specific texture in the font cache. |
![]() |
uint16 | USize | X Size of the character in the texture |
![]() |
bool | Valid | 1 if this entry is valid, 0 otherwise. |
![]() |
int16 | VerticalOffset | The vertical distance from the baseline to the topmost border of the character |
![]() |
uint16 | VSize | Y Size of the character in the texture |
![]() |
int16 | XAdvance | The amount to advance in X before drawing the next character in a string |