/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h
Performs text shaping on the given string using the given font info. Returns you the shaped text sequence to use for text rendering viaFSlateDrawElement::MakeShapedText. When using the version which takes a start point and length, the text outside of the given range won't be shaped, but will provide context information to allow the shaping to function correctly. ShapeBidirectionalText is used when you have text that may contain a mixture of LTR and RTL text runs.
FShapedGlyphSequenceRef ShapeBidirectionalText ( const TCHAR * InText, const int32 InTextStart, const int32 InTextLen, const [FSlateFontInfo](API\Runtime\SlateCore\Fonts\FSlateFontInfo) & InFontInfo, const float InFontScale, const [TextBiDi::ETextDirection](API\Runtime\Core\Internationalization\TextBiDi__ETextDirection) InBaseDirection, const ETextShapingMethod InTextShapingMethod ) const