I actually don't know what's the problem with your code, i just use Truetype and then i type in Arabic, sometimes i have to flip the words, like... الجمل Cheese. I'll have to write it like this: لمجلا eseehC.
And it'll work.