Right ot Left Writing mode - Characters are getting inverted

View: New views
1 Messages — Rating Filter:   Alert me  

Right ot Left Writing mode - Characters are getting inverted

by AshTen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I am using fop for generating PDF. In case of Arabic characters I am using block-container and I am using writing-mode property. the value I am setting for this parameter is "rl-tb".

The text is appearing Right to left but the problem is all the characters are getting inverted. (all the characters appears as mirror of themselves)

the block I am defining as following

<fo:block-container writing-mode="rl-tb" >
        <fo:block xml:lang="ar" text-align="{$talign}" break-before="{$pbreak}" >
                        Text goes here
        </fo:block>
</fo:block-container>

I am stuck at this point, Can anyone please guide me for this problem?