I have attached another example of some interesting behavior.

I have some lines with Latin/Hebrew text and a single line with just the
Hebrew text. The line containing just Hebrew text behaves in an
unpredictable manner placing text at the root location of a group instead of
at the correct relative text position. Only the first character is placed at
the correct position.

Is there a way to prevent this?

Mike






thomas.deweese wrote:
> 
> Hi Mike,
> 
> mlindeboom <[EMAIL PROTECTED]> wrote on 12/20/2006 04:52:30 PM:
> 
>> 
>> I have attached an example. This is not exactly to problem I saw 
> originally
>> but it may be related. The hebrew text seems to arrange itself out of 
> the
>> desired sequence. I intended to have 2.5 appear after the hebrew text, 
> not
>> before. 
> 
>    The problem is bidi layout.  Numbers like '2.5' have no strong
> directionality, so the adopt the directionality of the preceding
> text in the absence of other clues.  So your '2.5' get's reordered
> with the preceding Hebrew.  You can force a strong directionality
> by adding:
>         unicode-bidi="embed" direction="ltr"
> 
>    To the tspan element.
> 
> 
>> thomas.deweese wrote:
>> > 
>> > Hi MJ,
>> > 
>> > mjlindeboom <[EMAIL PROTECTED]> wrote on 11/27/2006 08:59:39 PM:
>> > 
>> >> I am mixing Hebrew and English text. The Hebrew letters seem to be 
>> > scattered
>> >> about. Is there anything I can do about this?
>> > 
>> >    Can you provide an example?  Batik generally does a pretty good
>> > job with BiDi text layout.  There was a bug that had to do with
>> > mixed layout an explicit positioning but it was fairly rare.
>> > 
>> >    Also I think I've fixed some minor stuff in BiDi since the 1.6
>> > release so you could try the latest SVN version of Batik.
>> > 
>> > 
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: 
> [EMAIL PROTECTED]
>> > 
>> > 
>> > 
>> http://www.nabble.com/file/5047/example.svg example.svg 
>> -- 
>> View this message in context: http://www.nabble.com/Hebrew-
>> tf2715739.html#a7998635
>> Sent from the Batik - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> 
> 
http://www.nabble.com/file/5294/example4.svg example4.svg 
-- 
View this message in context: 
http://www.nabble.com/Hebrew-tf2715739.html#a8166615
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to