A font object, for use by Slate, UMG, and Canvas. A font can either be: Runtime cached - The font contains a series of TTF files that combine to form a composite font. The glyphs are cached on demand when required at runtime. Offline cached - The font contains a series of textures containing pre-baked cached glyphs and their associated texture coordinates.
Member | Type | Offset | Share |
---|---|---|---|
FontCacheType
What kind of font caching should we use? This controls which options we see |
EFontCacheType | 0x30 | |
Characters
List of characters in the font. |
TArray<FFontCharacter> | 0x38 | |
Textures
Textures that store this font's glyph image data |
TArray<UTexture2D*> | 0x48 | |
IsRemapped
True if font is 'remapped'. |
int32_t | 0x58 | |
EmScale
Font metrics. |
float | 0x5c | |
Ascent | float | 0x60 | |
Descent | float | 0x64 | |
Leading | float | 0x68 | |
Kerning
Default horizontal spacing between characters when rendering text with this font |
int32_t | 0x6c | |
ImportOptions
Options used when importing this font |
FFontImportOptionsData | 0x70 | |
NumCharacters
Number of characters in the font, not including multiple instances of the same character (for multi-fonts). |
int32_t | 0x120 | |
MaxCharHeight
The maximum height of a character in this font. |
TArray<int32_t> | 0x128 | |
ScalingFactor
Scale to apply to the font. |
float | 0x138 | |
LegacyFontSize
The default size of the font used for legacy Canvas APIs that don't specify a font size |
int32_t | 0x13c | |
LegacyFontName
The default font name to use for legacy Canvas APIs that don't specify a font name |
FName | 0x140 | |
CompositeFont
Embedded composite font data |
FCompositeFont | 0x148 |