Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Fonts
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
| Include | #include "Fonts/FontCache.h" |
Syntax
struct FSdfGlyphFontAtlasData
Remarks
The font atlas data for a single distance field-based glyph
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bPendingRespawn | True if the SDF is a placeholder and the task for its final version hasn't been spawned yet (due to too many running tasks) | |
| bool | bSupportsSdf | True if the glyph is available in the face but sdf generation was not possible/successful | |
| float | EmInnerSpread | Inner portion of the spread of representable distances, in em | |
| float | EmOuterSpread | Outer portion of the spread of representable distances, in em | |
| int16 | HorizontalOffset | The horizontal distance from the origin to the leftmost border of the glyph sdf raster | |
| FMetrics | Metrics | ||
| uint16 | StartU | Start X location of the sdf raster in the texture | |
| uint16 | StartV | Start Y location of the sdf raster in the texture | |
| uint8 | TextureIndex | Index to a specific texture in the font cache. | |
| uint16 | USize | Width of the sdf raster in the texture | |
| bool | Valid | True if this entry is valid, false otherwise. | |
| int16 | VerticalOffset | The vertical distance from the baseline to the topmost border of the glyph sdf raster | |
| uint16 | VSize | Height of the sdf raster in the texture |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FMetrics |