Hello
This code works well on devices without problems if the English
local options = { text = "This code works well on\ndevices without problems\nif the English", x = 100, y = 200, width = 128, font = native.systemFont, fontSize = 18, align = "right" -- Alignment parameter } local myText = display.newText( options ) myText:setFillColor( 1, 0, 0 )
But when you add Arabic, Hebrew or Persian text
The text turns to the left.
myText.text = "مرحبا بالجميع،\nأرجو لكم الصحة والسلامة"