It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class StepW


Extended by Com\Tecnick\Unicode\Bidi\StepW
Namespace: Com\Tecnick\Unicode\Bidi
Package: Unicode
Category: Library
Copyright: 2011-2015 Nicola Asuni - LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni [email protected]
Since: 2015-07-13
Located at Bidi/StepW.php
Methods summary
# process( )

Process W steps Resolving Weak Types

# processW1( integer $idx )

W1. Examine each nonspacing mark (NSM) in the isolating run sequence, and change the type of the NSM to Other Neutral if the previous character is an isolate initiator or PDI, and to the type of the previous character otherwise. If the NSM is at the start of the isolating run sequence, it will get the type of sos. (Note that in an isolating run sequence, an isolate initiator followed by an NSM or any type other than PDI must be an overflow isolate initiator.)

# processW2( integer $idx )

W2. Search backward from each instance of a European number until the first strong type (R, L, AL, or sos) is found. If an AL is found, change the type of the European number to Arabic number.

# processW3( integer $idx )

W3. Change all ALs to R.

# processW4( integer $idx )

W4. A single European separator between two European numbers changes to a European number. A single common separator between two numbers of the same type changes to that type.

# processW5( integer $idx )

W5. A sequence of European terminators adjacent to European numbers changes to all European numbers.

# processW5a( integer $idx )


# processW5b( integer $idx )


# processW6( integer $idx )

W6. Otherwise, separators and terminators change to Other Neutral.

# processW7( integer $idx )

W7. Search backward from each instance of a European number until the first strong type (R, L, or sos) is found. If an L is found, then change the type of the European number to L.

Methods inherited from Com\Tecnick\Unicode\Bidi\StepBase
__construct(), getSequence(), processStep()
Properties inherited from Com\Tecnick\Unicode\Bidi\StepBase

? 2004-2019 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy