pokepetter / ursina

A game engine powered by python and panda3d.
https://pokepetter.github.io/ursina/
MIT License
2.23k stars 328 forks source link

RTL language support (Persian/Farsi) #670

Open bambier opened 7 months ago

bambier commented 7 months ago

Add support for RTL languages such as Persian

First we cant use set font for widow title as we cant set font for that Second we can fix Text with arabic-reshaper and python-bidi but its not good practice its better to use pango for implementation of Text

image

PS: using arabic-reshaper and python-bidi wont fix InputField

image

Sample Persian (RTL) text: زن زندگی آزادی