Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Fonts
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.