UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Font.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#include "UObject/Class.h"
#include "Fonts/CompositeFont.h"
#include "Fonts/SlateFontInfo.h"
#include "Engine/FontImportOptions.h"
#include "Fonts/FontProviderInterface.h"
#include "Font.generated.h"

Go to the source code of this file.

Classes

struct  FFontCharacter
 
struct  TStructOpsTypeTraits< FFontCharacter >
 
class  UFont
 

Enumerations

enum class  EFontCacheType : uint8 { Offline , Runtime }
 
enum class  ERuntimeFontSource : uint8 { Asset , CoreStyleDefault }
 

Enumeration Type Documentation

◆ EFontCacheType

enum class EFontCacheType : uint8
strong

Enumerates supported font caching types.

Enumerator
Offline 

The font is using offline caching (this is how UFont traditionally worked).

Runtime 

The font is using runtime caching (this is how Slate fonts work).

◆ ERuntimeFontSource

enum class ERuntimeFontSource : uint8
strong
Enumerator
Asset 

The runtime composite font data is embedded into this Font asset

CoreStyleDefault 

The runtime composite font is taken from FCoreStyle::GetDefaultFont()