[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: my Bidi implementation
- To: developer at arabeyes dot org
- Subject: Re: my Bidi implementation
- From: "ahmad khalifa" <ahmadkhalifa at hotmail dot com>
- Date: Sun, 14 Mar 2004 03:34:15 +0000
> i have a quick question...
> for a string that looks like this:
> asdf ASDF GHJKL OPNM
> the paragraph level is 0...
> all capitals are odd level types (i.e type AL or R)
> is this the correct level array..??
> asdf ASDF GHJK OPQW
> 0000011110111101111
No, I think it should be like:
0000011111111111111
you are right... but, where does the space get the level 1..?
it says at the top of UAX#9 that spaces get the level of the
surrounding text... but which rule does that...?
in the (Xn) rules, spaces get levels of 0 because there are no
explicit embeddings...
in Rules (In) it deals with strong characters and numbers only
thats why ASDF gets the level of 1, and the space remains
at level 0...
in rule (L1) it doesnt deal with spaces between strong
character types...
to conclude, no rule states what to do exactly with WS
between strong character types (i.e R, AL, L)...
is it left to the implementation? i dont think so...
its logical enough to parse any sequences of WS and give
them the highest level of the nearby runs, or give them the
type of the nearby runs, but is that the standard way..?
any ideas what im doing wrong..?
ak.
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail