UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCharacterEntry Struct Reference

#include <FontCache.h>

Public Attributes

TCHAR Character = 0
 
uint32 GlyphIndex = 0
 
const FFontDataFontData = nullptr
 
TSharedPtr< FFreeTypeKerningCacheKerningCache
 
float FontScale = 0.0f
 
float BitmapRenderScale = 0.0f
 
uint16 StartU = 0
 
uint16 StartV = 0
 
uint16 USize = 0
 
uint16 VSize = 0
 
int16 VerticalOffset = 0
 
int16 HorizontalOffset = 0
 
int16 GlobalDescender = 0
 
int16 XAdvance = 0
 
uint8 TextureIndex = 0
 
EFontFallback FallbackLevel = EFontFallback::FF_Max
 
bool HasKerning = false
 
bool SupportsOutline = false
 
bool Valid = false
 

Detailed Description

Information for rendering one non-shaped character

Member Data Documentation

◆ BitmapRenderScale

float FCharacterEntry::BitmapRenderScale = 0.0f

Any additional scale that should be applied when rendering this glyph

◆ Character

TCHAR FCharacterEntry::Character = 0

The character this entry is for

◆ FallbackLevel

EFontFallback FCharacterEntry::FallbackLevel = EFontFallback::FF_Max

The fallback level this character represents

◆ FontData

const FFontData* FCharacterEntry::FontData = nullptr

The raw font data this character was rendered with

◆ FontScale

float FCharacterEntry::FontScale = 0.0f

Scale that was applied when rendering this character

◆ GlobalDescender

int16 FCharacterEntry::GlobalDescender = 0

The largest vertical distance below the baseline for any character in the font

◆ GlyphIndex

uint32 FCharacterEntry::GlyphIndex = 0

The index of the glyph from the FreeType face that this entry is for

◆ HasKerning

bool FCharacterEntry::HasKerning = false

1 if this entry has kerning, 0 otherwise.

◆ HorizontalOffset

int16 FCharacterEntry::HorizontalOffset = 0

The horizontal distance from the origin to the left most border of the character

◆ KerningCache

TSharedPtr<FFreeTypeKerningCache> FCharacterEntry::KerningCache

The kerning cache that this entry uses

◆ StartU

uint16 FCharacterEntry::StartU = 0

Start X location of the character in the texture

◆ StartV

uint16 FCharacterEntry::StartV = 0

Start Y location of the character in the texture

◆ SupportsOutline

bool FCharacterEntry::SupportsOutline = false

1 if this entry supports outline rendering, 0 otherwise.

◆ TextureIndex

uint8 FCharacterEntry::TextureIndex = 0

Index to a specific texture in the font cache.

◆ USize

uint16 FCharacterEntry::USize = 0

X Size of the character in the texture

◆ Valid

bool FCharacterEntry::Valid = false

1 if this entry is valid, 0 otherwise.

◆ VerticalOffset

int16 FCharacterEntry::VerticalOffset = 0

The vertical distance from the baseline to the topmost border of the character

◆ VSize

uint16 FCharacterEntry::VSize = 0

Y Size of the character in the texture

◆ XAdvance

int16 FCharacterEntry::XAdvance = 0

The amount to advance in X before drawing the next character in a string


The documentation for this struct was generated from the following file: