Navigation
API > API/Runtime > API/Runtime/SlateCore
Methods that can be used to shape text.
If you change this enum, make sure and update CVarDefaultTextShapingMethod and GetDefaultTextShapingMethod.
| Name | ETextShapingMethod |
| Type | enum |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
| Include Path | #include "Fonts/FontCache.h" |
Syntax
enum ETextShapingMethod
{
Auto = 0,
KerningOnly,
FullShaping,
}
Values
| Name | Remarks |
|---|---|
| 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). |