I\'m using flying saucer xhtmlrenderer for building pdf documents. Everything worked fine until now - now we should generate arabic text inside pdf.
Xhtmlrenderer is rendering A
Finally I'm able to print arabic text in rtl/ltr using flying saucer.
In my code I'm giving width and alignment for every arabic text block, but in general it works fine.
(Edited) Code is large to print it down here, please find the code on Google groups, the links are in the comments.