2

I am trying to display Persian text on android(load Persian font also) and it showed successively but it is left to right instead of right to left for example : سلام would be displayed as م ا ل س (i use ndk and cocos2d-x)

Duke
  • 1,731
  • 2
  • 17
  • 33
  • Check out this post. It doesn't have an accepted answer but one of the two possible solutions may be correct. http://stackoverflow.com/questions/7874125/how-to-write-text-right-to-left-arabic-textin-android – sealz Feb 14 '12 at 21:37

1 Answers1

2

set layout.directions to ALIGN_OPPOSITE

Paul Nikonowicz
  • 3,883
  • 21
  • 39