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.

If you change this enum, make sure and update CVarDefaultTextShapingMethod and GetDefaultTextShapingMethod.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback