Right-to-left languages and love.graphics.printf

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Party member
Posts: 1270
Joined: Fri Mar 07, 2008 1:39 pm

Right-to-left languages and love.graphics.printf

Post by ivan » 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:
But with RTL the wrapping has to be done from the left:
This has to do with how the characters flow and is independent of the text alignment.
Any tips on this would be much appreciated!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests