For example, English text is read from left to right. Arabic and Hebrew texts are read from right to left. If both English and Hebrew texts appear on the same line, the text is bidirectional. Numbers and English quotations are written from left to right. Digits and their punctuation are written marks from left to right.
Bidirectional script is read from right to left and from top to bottom.
If the embedded text is contained in one line, the text is written from left to right and embedded in the bidirectional text. However, if the embedded text is split between two or more lines, the correct order must be maintained in the left to right portions to allow top to bottom reading. Both texts maintain readability even though the embedded text is split. The system organizes characters in the sequence in which they are presented on the screen. If a language of opposite writing orientation is embedded in the visual data stream, the sequence of each text is preserved when the viewport orientation is reversed.