Hi James,

>From reading the XSL specification (http://www.w3.org/TR/xsl/#direction), it 
>states:

"For the 'direction' property to have any effect on inline-level
elements, the 'unicode-bidi' property's value must be 'embed' or
'override'. "

e.g. <fo:bidi-override direction="ltr" unicode-bidi="bidi-override">

If you try that and are still having the same behaviour, would it be possible 
for you to reply with an example FO showing the problem.

Regards,

Robert Meyer

Date: Wed, 18 Jul 2012 11:23:36 +0100
Subject: writing-mode="rl", bidi-override etc
From: quest.ja...@gmail.com
To: fop-users@xmlgraphics.apache.org

hi,

in left-to-right languages, we display 1 / 2 (i.e. page 1 of 2 pages).
in right-to-left languages, it should also do 1 / 2, and it does if 
<fo:inline>1 / 2 </fo:inline>

however, if it is <fo:inline><fo:page-number/> / <fo:page-number-citation 
ref-id="endofdoc"/></fo:inline>,



it displays (in right-to-left languages), 2 / 1 instead of 1 / 2

i have tried forcing it, using <fo:bidi-override direction="ltr"> to no avail

it is the expected behaviour?

james
                                          

Reply via email to