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!
Right-to-left languages and love.graphics.printf
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Right-to-left languages and love.graphics.printf
Did you ever have luck getting RTL text printed properly in Love2D? I was considering using Love2D for a project using Persian, but it would require RTL support.
Re: Right-to-left languages and love.graphics.printf
To be honest, I just made sure that we don't have to wrap the text our games.
The "wrapping" issue mentioned above might only be a problem if you have blocks of text.
It's also possible to wrap the text using Lua as well.
The "wrapping" issue mentioned above might only be a problem if you have blocks of text.
It's also possible to wrap the text using Lua as well.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests