🌟 Feature Request: RTL Text Support in Font Engines
🚀 Goal
Support for Right-to-Left (RTL) text rendering is essential to accommodate languages like Arabic, Hebrew, and others 🌍. Currently, RTL rendering is not natively supported in the following font engines:
- 🖌️ Canvas Text Renderer
- ✍️ SDF Font Renderer
This feature will enable proper text alignment, glyph shaping, and directionality for RTL languages.
🔧 Suggested Implementation
- Add RTL text layout logic to both renderers.
- Integrate glyph shaping for languages with complex scripts (e.g., Arabic ligatures).
- Provide an API for switching between LTR and RTL modes on
CoreTextNode.
🛠️ Resources