Ren'Py Right allign for persian language

mthegreat

New Member
Mar 24, 2021
1
0
Hello,
Recently I started my own project but it's for Persians only, I couldn't find a way to make the text right-alligned, even tho "define gui.dialogue_text_xalign" is set to 1.0, yet the text is still left-alligned and the characters are separated.

Any idea how to fix this?
 
Last edited:

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,975
16,230
Any idea how to fix this?
By using the undocumented config.rtl configuration value that is supposed to trigger the Right to Left display of the text.
Just put define config.rtl = True in your code and it should be good.