mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-18 21:50:54 +08:00
5288ee3c29
The LTR branch of NSWritingDirectionAttributeName was using NSWritingDirectionOverride, which forcefully overrides the directionality of all characters, preventing the Unicode BiDi algorithm from correctly rendering RTL scripts (e.g. Arabic, Kurdish) embedded in LTR text. Changed to NSWritingDirectionEmbedding to match the RTL branch behavior, allowing proper bidirectional text rendering while maintaining the LTR base direction.