now i have figure the problem and thats because you are writing from right to left
If that's the problem: the PDF serializer has no BIDI support at all: no rl writing direction, no character reordering, no fo:bidi support. This means rendering arabic text is almost out of the question, with the possible exception of snippets with blocks which don't have more than one line and which can be reversed beforehand by some other means (which may be complicated by inline markup and numbers which have to be rendered lr instead of rl).
J.Pietschmann
