@arash
Try some working f/w with Arabic RTL (not-separated) typing first. Look at the libraries and mess with your touch.
that "not-separated" is silly construct, but I suppose you know what I mean
I was part of that strange race of people aptly described as spending their lives doing things they detest to make money they don't want to buy things they don't need to impress people they dislike. -- Emile Henry Gauvreay