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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table of Contents<br />

Abstract<br />

High Level <strong>Proposal</strong><br />

<strong>Isolates</strong> <strong>in</strong> HTML and CSS<br />

Proposed Changes to CSS <strong>Isolates</strong><br />

<strong>Isolates</strong> vs Embedd<strong>in</strong>gs and Marks<br />

Can’t LRE and RLE just become isolates?<br />

<strong>Isolates</strong> and the Level Direction Mark<br />

<strong>Isolates</strong> and the <strong>Bidi</strong>rectional Parentheses Algorithm<br />

Detailed Changes to UAX #9<br />

Section 2 (Directional Formatt<strong>in</strong>g Codes): Add the isolate codes<br />

Section 3 (Basic Display Algorithm): Hold off on specify<strong>in</strong>g the order <strong>in</strong> which rules are<br />

applied.<br />

Section 3.1 (Def<strong>in</strong>itions): Add isolate-related def<strong>in</strong>itions<br />

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

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

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

Section 3.3.3 (Resolv<strong>in</strong>g Weak Types): Use isolat<strong>in</strong>g run sequences<br />

Section 3.3.4 (Resolv<strong>in</strong>g Neutral Types): Use isolat<strong>in</strong>g run sequences<br />

Section 3.4 (Reorder<strong>in</strong>g Resolved Levels): Treat isolate <strong>for</strong>mat codes as whitespace<br />

Section 4.2 (Explicit Formatt<strong>in</strong>g Codes): Add <strong>in</strong>termediate class<br />

Section 4.3 (Higher-Level Protocols): Allow isolate emulation<br />

Section 5.2 (Reta<strong>in</strong><strong>in</strong>g Format Codes): Use isolat<strong>in</strong>g run sequences<br />

Section 5.5 (Usage): Add isolate usage suggestions<br />

Section 5.6 (Separat<strong>in</strong>g Punctuation Marks): Also suggest isolates<br />

Document History<br />

High Level <strong>Proposal</strong><br />

The purpose of this section is to outl<strong>in</strong>e the proposal conceptually. For a def<strong>in</strong>itive specification<br />

of the proposal, see “Detailed Changes to UAX #9” below.<br />

We propose extend<strong>in</strong>g <strong>Unicode</strong> with new codepo<strong>in</strong>ts and changes to the UBA that would offer<br />

two new features:<br />

● Directional isolation<br />

● Direction estimation <strong>for</strong> a phrase nested with<strong>in</strong> a paragraph<br />

Directional isolation means that a piece of text can be surrounded with <strong>in</strong>visible <strong>for</strong>matt<strong>in</strong>g<br />

characters that reduce its effect on the bidirectional order<strong>in</strong>g of its surround<strong>in</strong>gs to that of a

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

Saved successfully!

Ooh no, something went wrong!