Display arabic text left to right in pdf using apache fop 0.95
        Posted  
        
            by sangam
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by sangam
        
        
        
        Published on 2009-12-17T12:41:30Z
        Indexed on 
            2010/05/17
            10:40 UTC
        
        
        Read the original article
        Hit count: 320
        
Hi all. We are generating pdf using apache's xsl fo engine, namely fop 0.95. We have been successful in displaying arabic text from xml to pdf. But there is some problem in the direction of the displayed words.
If we have 'sangam' (please assume that 'sangam' is in arabic) in xml, it gets displayed as 'magnas'. Has anyone encountered this before? What could be the solution?
For example, I have one node in xml file like this:
<empltmoblab>??????</empltmoblab>
Now when displayed in pdf, this is displayed like this:
??????
This means I am getting just the reverse. I want it as it is in xml node.
Thank you.
© Stack Overflow or respective owner