UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ApplePlatformMisc.cpp File Reference

Classes

struct  FFontHeader
 
struct  FFontTableEntry
 

Functions

 DEFINE_LOG_CATEGORY_STATIC (LogApplePlatformMisc, Log, All)
 
void GetBytesForFont (const NSString *InFontName, OUT TArray< uint8 > &OutBytes)
 

Function Documentation

◆ DEFINE_LOG_CATEGORY_STATIC()

DEFINE_LOG_CATEGORY_STATIC ( LogApplePlatformMisc  ,
Log  ,
All   
)

◆ GetBytesForFont()

void GetBytesForFont ( const NSString InFontName,
OUT TArray< uint8 > &  OutBytes 
)

In order to get a system font from IOS we need to build one from the data we can gather from a CGFontRef

Parameters
InFontName- The name of the system font we are seeking to load.
OutBytes- The data we have built for the font.