Right-to-left languages and love.graphics.printf
Posted: Mon Jan 08, 2018 5:27 pm
Hello, I'm porting a few games to Love2D and one of them has an Arabic localization.
My question is: does love.graphics.printf support RTL languages?
What I mean is, typically with LTR we wrap and break the string from the right side:
1234-
56789
But with RTL the wrapping has to be done from the left:
-4321
98765
This has to do with how the characters flow and is independent of the text alignment.
Any tips on this would be much appreciated!
My question is: does love.graphics.printf support RTL languages?
What I mean is, typically with LTR we wrap and break the string from the right side:
1234-
56789
But with RTL the wrapping has to be done from the left:
-4321
98765
This has to do with how the characters flow and is independent of the text alignment.
Any tips on this would be much appreciated!