Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
Include |
#include "Fonts/FontCache.h" |
enum ETextShapingMethod
{
Auto = 0,
KerningOnly,
FullShaping,
}
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). |
Methods that can be used to shape text. @note If you change this enum, make sure and update CVarDefaultTextShapingMethod and GetDefaultTextShapingMethod.