01.11.2014 Views

A Proposal for Bidi Isolates in Unicode

A Proposal for Bidi Isolates in Unicode

A Proposal for Bidi Isolates in Unicode

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

●<br />

●<br />

●<br />

“text2 LRI<br />

”, “ PDI<br />

text4”<br />

“text3”<br />

“text5”<br />

Add:<br />

BD10. The directional isolate status is a Boolean value reflect<strong>in</strong>g whether the current embedd<strong>in</strong>g<br />

level was started by an FSI, LRI, or RLI (as opposed to an LRE, RLE, LRO, or RLO).<br />

This is followed by Table 3.<br />

Replace the first row of Table 3 (def<strong>in</strong><strong>in</strong>g N) with the follow<strong>in</strong>g:<br />

N<br />

Neutral, Separator or Isolate <strong>for</strong>matt<strong>in</strong>g code (B, S, WS, ON, FSI, LRI, RLI, PDI)<br />

Replace the last two rows (currently def<strong>in</strong><strong>in</strong>g sor and eor, which we no longer use) with the<br />

follow<strong>in</strong>g:<br />

sos<br />

eos<br />

The text order<strong>in</strong>g type (L or R) assigned to the virtual position preced<strong>in</strong>g the first<br />

level run <strong>in</strong> an isolat<strong>in</strong>g run sequence.<br />

The text order<strong>in</strong>g type (L or R) assigned to the virtual position follow<strong>in</strong>g the last<br />

level run <strong>in</strong> an isolat<strong>in</strong>g run sequence.<br />

Section 3.2 (<strong>Bidi</strong>rectional Character Types): Add the new types<br />

The current group<strong>in</strong>g of LRE, RLE, LRO, and RLO as "Strong" and PDF as "Weak" doesn’t<br />

make any difference to the present algorithm or even make much sense. Instead, add a fourth<br />

group, "Formatt<strong>in</strong>g", consist<strong>in</strong>g of LRE, RLE, LRO, RLO, PDF, LRI, RLI, FSI, and PDI.<br />

Section 3.3.1 (The Paragraph Level), rule P2: Skip over isolates<br />

After "In each paragraph, f<strong>in</strong>d the first character of type L, AL, or R", <strong>in</strong>sert:<br />

while skipp<strong>in</strong>g over any characters between an FSI, LRI or RLI and its match<strong>in</strong>g PDI or, if it has<br />

no match<strong>in</strong>g PDI, the end of the paragraph.<br />

Section 3.3.2 (Explicit Levels and Directions): Include isolates<br />

Modify the first paragraph to read as follows:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!