Re: writing-mode="rl", bidi-override etc

2012-11-12 Thread Glenn Adams
if you have already filed a bug, then please provide the link for the bug
entry; if you haven't, then please file a bug

fyi, no technical changes were made (to FOP) between FOP1.1RC1 and FOP1.1;
we normally only make a change to a release candidate if there is a
showstopper bug, and the bug you report does not qualify;

regards, glenn



On Mon, Nov 12, 2012 at 7:07 AM, James Quest  wrote:

> hi there,
>
> i have reported this issue in fop1.1rc1
>
> it seems this issue is still there in fop1.1 unfortunately
>
> any advice?
>
>
>
>
>
> --
> View this message in context:
> http://apache-fop.1065347.n5.nabble.com/writing-mode-rl-bidi-override-etc-tp36377p37337.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: writing-mode="rl", bidi-override etc

2012-11-12 Thread James Quest
hi there,

i have reported this issue in fop1.1rc1

it seems this issue is still there in fop1.1 unfortunately

any advice?





--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/writing-mode-rl-bidi-override-etc-tp36377p37337.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: writing-mode="rl", bidi-override etc

2012-07-19 Thread Glenn Adams
ok thanks, i will investigate further...

On Thu, Jul 19, 2012 at 6:16 AM, James Quest  wrote:

> hello,
>
> it does not seem to behave properly
>
> please see full fo below.
>
> as summary,
>
> 1/2
> renders as 1/2 for rl, 1/2 for lr
>
> /
> renders as 2/1 for rl, 1/2 for lr
>
> 
>   /
> 
> renders as 2/1 for rl, 1/2 for lr
>
> 
>   /
> 
> renders as /21 for rl, 1/2 for lr
>
> 
>   /
> 
> renders as /21 for rl, 1/2 for lr
>
> --
>
> http://www.w3.org/1999/XSL/Format"; font-family="Arial"
> writing-mode="rl">
>   
>  master-name="a4">
>margin-right="10mm" margin-left="10mm"/>
> 
>   
>   
> 
>   
> 1/2
> 
>   /
> 
> 
>   
> /
>   
> 
> 
>   
> /
>   
> 
> 
>   
> /
>   
> 
>
>   
>   
> 
>   
> 
>   
> 
>
>
> --
> View this message in context:
> http://apache-fop.1065347.n5.nabble.com/writing-mode-rl-bidi-override-etc-tp36377p36407.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: writing-mode="rl", bidi-override etc

2012-07-19 Thread James Quest
hello,

it does not seem to behave properly

please see full fo below. 

as summary, 

1/2 
renders as 1/2 for rl, 1/2 for lr

/
renders as 2/1 for rl, 1/2 for lr


  /

renders as 2/1 for rl, 1/2 for lr


  /

renders as /21 for rl, 1/2 for lr


  /

renders as /21 for rl, 1/2 for lr

--

http://www.w3.org/1999/XSL/Format"; font-family="Arial"
writing-mode="rl">
  

  

  
  

  
1/2

  /


  
/
  


  
/
  


  
/
  


  
  

  

  



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/writing-mode-rl-bidi-override-etc-tp36377p36407.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: writing-mode="rl", bidi-override etc

2012-07-18 Thread Glenn Adams
On Wed, Jul 18, 2012 at 7:07 AM, Robert Meyer  wrote:

>  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. 
>

I think what you want to do here is create a LTR embedding context, as
opposed to overriding the inherent directionality of the characters (which
is what the above does). So you should use:


/ 

You can also do the same thing using explicit Unicode BIDI control
characters LRE and PDF:

‪ / ‬

See [1] and [2] for more info.

[1]
http://xmlgraphics.apache.org/fop/1.1rc1/complexscripts.html#bidi_override_element
[2]
http://xmlgraphics.apache.org/fop/1.1rc1/complexscripts.html#bidi_controls

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: [email protected]
> To: [email protected]
>
>
> 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
> 1 / 2 
>
> however, if it is  /  ref-id="endofdoc"/>,
>
> it displays (in right-to-left languages), 2 / 1 instead of 1 / 2
>
> i have tried forcing it, using  to no
> avail
>
> it is the expected behaviour?
>
> james
>


RE: writing-mode="rl", bidi-override etc

2012-07-18 Thread Robert Meyer

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. 

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: [email protected]
To: [email protected]

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 
1 / 2 

however, if it is  / ,



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

i have tried forcing it, using  to no avail

it is the expected behaviour?

james