Navigation
Unreal Engine C++ API Reference > 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 | bIsGrayscale | True if the rendered character is 8-bit grayscale, or false if it's 8-bit per-channel BGRA color |
![]() |
bool | bSupportsOutline | True if the rendered character supports outlines, false otherwise |
![]() |
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 |