Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Fonts
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontTypes.h |
| Include | #include "Fonts/FontTypes.h" |
Syntax
struct FCharacterRenderData
Remarks
Contains pixel data for a character rendered from freetype as well as measurement info
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSupportsOutline | True if the rendered character supports outlines, false otherwise | |
| ESlateFontAtlasContentType | ContentType | Type of glyph rasterization | |
| int16 | HorizontalOffset | The horizontal distance from the origin to the leftmost border of the character | |
| TArray< uint8 > | RawPixels | Raw pixels of the rendered character | |
| int16 | SizeX | Width of the character in pixels | |
| int16 | SizeY | Height of the character in pixels | |
| int16 | VerticalOffset | The vertical distance from the baseline to the topmost border of the glyph bitmap |