FCompositeFont

Windows
MacOS
Linux

Inheritance Hierarchy

FCompositeFont

FStandaloneCompositeFont

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Fonts/CompositeFont.h

Include

#include "Fonts/CompositeFont.h"

Syntax

struct FCompositeFont

Variables

Name Description

Public variable

FTypeface

 

DefaultTypeface

The default typeface that will be used when not overridden by a sub-typeface

Public variable

FCompositeFallb...

 

FallbackTypeface

The fallback typeface that will be used as a last resort when no other typeface provides a match

Public variable

int32

 

HistoryRevision

Transient value containing the current history ID of this composite font This should be updated when the composite font is changed (which should happen infrequently as composite fonts are assumed to be mostly immutable) once they've been setup

Public variable

TArray< FCompos...

 

SubTypefaces

Sub-typefaces to use for a specific set of characters

Constructors

Name Description

Public function

FCompositeFont()

Default constructor

Public function

FCompositeFont

(
    const FName& InFontName,
    FString InFontFilename,
    const EFontHinting InHinting,
    const EFontLoadingPolicy InLoadingP...
)

Convenience constructor for when your composite font only contains a single font

Functions

Name Description

Public function

void

 

MakeDirty()

Call this when the composite font is changed after its initial setup - this allows various caches to update as required

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss