ETextShapingMethod

Methods that can be used to shape text.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Fonts/FontCache.h"

Syntax

enum ETextShapingMethod
{
    Auto           = 0,
    KerningOnly,
    FullShaping,
}

Values

Name

Description

Auto

Automatically picks the fastest possible shaping method (either KerningOnly or FullShaping) based on the reading direction of the text.

KerningOnly

Provides fake shaping using only kerning data.

FullShaping

Provides full text shaping, allowing accurate rendering of complex right-to-left or bi-directional glyphs (such as Arabic).

Remarks

Methods that can be used to shape text. @note If you change this enum, make sure and update CVarDefaultTextShapingMethod and GetDefaultTextShapingMethod.

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