Supporting "right to left" (RTL) languages


#1

Hi.

When feeding my app with RTL language input, it is being presented left to right.
I’m using Label, TextEditor, g.drawText and friends.

What can I do about that?

Thanks.


#2

Looks like I need to change GlyphArrangement::addFittedText()
by adding a function that determines if the text is RTL or LTR and then outputs it in the correct way.

Jules, any chance to add this to your queue?


#3

Yes, that’d be a way of doing it, though things like TextEditor would need some very fundamental changes. If it was an easy change, I’d do it straight away, but it’s not trivial and my queue is pretty long at the moment, so I can’t make any promises, sorry!