[vte/wip/egmont/bidi: 31/79] add test file (doc/bidi.txt)
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/egmont/bidi: 31/79] add test file (doc/bidi.txt)
- Date: Fri, 28 Sep 2018 08:14:38 +0000 (UTC)
commit 1162e87166cdcd983de7746152afe73fe4f70540
Author: Egmont Koblinger <egmont gmail com>
Date: Thu Aug 23 14:04:54 2018 +0200
add test file (doc/bidi.txt)
doc/bidi.txt | 165 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 165 insertions(+)
---
diff --git a/doc/bidi.txt b/doc/bidi.txt
new file mode 100644
index 00000000..d8b87ca4
--- /dev/null
+++ b/doc/bidi.txt
@@ -0,0 +1,165 @@
+ â•”â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
+â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•£ BiDi test – should be cat’ed at 80 columns â• â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
+ â•šâ•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
+
+In text examples, the subsection title (bold) sometimes shows the wire order,
+transcribed to English (“Shalom†abbreviated to occupy the same width).
+This is followed by the reference rendering, using similar LTR glyphs.
+Finally the actual rendering which should match the line above.
+
+All words, except for subsection titles under explicit modes, should show up
+in human readable order.
+
+Boxes should all show up nicely.
+
+ ┌──────────────â”
+────────────────────────────────┤ Implicit LTR ├────────────────────────────────
+ └──────────────┘
+[1m⸤Hello⸣ ⸤Shlm⸣[22m
+⸤Hello⸣ ⸤oi7w⸣
+⸤Hello⸣ ⸤שָ×לוֹ×⸣
+
+[1mHello1 ⸤Hello2⸣ Hello3 Shlm1 ⸤Shlm2⸣ Shlm3[22m
+Hello1 ⸤Hello2⸣ Hello3 3oi7w ⸢2oi7w⸥ 1oi7w
+Hello1 ⸤Hello2⸣ Hello3 שָ×לוֹ×1 ⸤שָ×לוֹ×2⸣ שָ×לוֹ×3
+
+[1m⸤Shlm⸣ ⸤Hello⸣[22m
+⸤oi7w⸣ ⸤Hello⸣
+⸤שָ×לוֹ×⸣ ⸤Hello⸣
+
+[1mShlm1 ⸤Shlm2⸣ Shlm3 Hello1 ⸤Hello2⸣ Hello3[22m
+3oi7w ⸢2oi7w⸥ 1oi7w Hello1 ⸤Hello2⸣ Hello3
+שָ×לוֹ×1 ⸤שָ×לוֹ×2⸣ שָ×לוֹ×3 Hello1 ⸤Hello2⸣ Hello3
+
+[1mParagraph wrapping at foreign word[22m
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor w
+oi7 incididunt ut labore et dolore magna aliqua.
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor שָ××œ×•Ö¹× incididunt ut labore
et dolore magna aliqua.
+
+[1mBox[22m
+â”â”┓╔â•â•—┌─â”â•â”€â•®
+â”—â”┛╚â•â•â””─┘╰─╯
+
+[1mBox in mirrored mode[22m
+[?2500hâ”â”┓╔â•â•—┌─â”â•â”€â•®
+â”—â”┛╚â•â•â””─┘╰─╯[?2500l
+
+ ┌──────────────â”
+────────────────────────────────┤ Implicit RTL ├────────────────────────────────
+ └──────────────┘
+[1m⸤Hello⸣ ⸤Shlm⸣[22m
+ ⸢oi7w⸥ ⸢Hello⸥
+[3 S⸤Hello⸣ ⸤שָ×לוֹ×⸣[0 S
+
+[1mHello1 ⸤Hello2⸣ Hello3 Shlm1 ⸤Shlm2⸣ Shlm3[22m
+ 3oi7w ⸢2oi7w⸥ 1oi7w Hello1 ⸤Hello2⸣ Hello3
+[3 SHello1 ⸤Hello2⸣ Hello3 שָ×לוֹ×1 ⸤שָ×לוֹ×2⸣ שָ×לוֹ×3[0 S
+
+[1m⸤Shlm⸣ ⸤Hello⸣[22m
+ ⸢Hello⸥ ⸢oi7w⸥
+[3 S⸤שָ×לוֹ×⸣ ⸤Hello⸣[0 S
+
+[1mShlm1 ⸤Shlm2⸣ Shlm3 Hello1 ⸤Hello2⸣ Hello3[22m
+ Hello1 ⸤Hello2⸣ Hello3 3oi7w ⸢2oi7w⸥ 1oi7w
+[3 Sשָ×לוֹ×1 ⸤שָ×לוֹ×2⸣ שָ×לוֹ×3 Hello1 ⸤Hello2⸣ Hello3[0 S
+
+[1mParagraph with wrong direction (should look broken)[22m
+w Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
+ .incididunt ut labore et dolore magna aliqua oi7
+[3 SLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor שָ××œ×•Ö¹× incididunt ut
labore et dolore magna aliqua.[0 S
+
+[1mBox[22m
+[3 S┓â”â”â•—â•â•”â”─┌╮─â•
+â”›â”â”—â•â•â•šâ”˜â”€â””╯─╰[0 S
+
+[1mBox in mirrored mode[22m
+[3 S[?2500hâ”â”┓╔â•â•—┌─â”â•â”€â•®
+â”—â”┛╚â•â•â””─┘╰─╯[?2500l[0 S
+
+ ┌──────────────────────────────â”
+────────────────────────┤ Implicit auto (LTR fallback) ├────────────────────────
+ └──────────────────────────────┘
+[1m⸤Hello⸣ ⸤Shlm⸣[22m
+⸤Hello⸣ ⸤oi7w⸣
+[?2501h⸤Hello⸣ ⸤שָ×לוֹ×⸣[?2501l
+
+[1m⸤Shlm⸣ ⸤Hello⸣[22m
+ ⸢Hello⸥ ⸢oi7w⸥
+[?2501h⸤שָ×לוֹ×⸣ ⸤Hello⸣[?2501l
+
+[1mParagraph wrapping at foreign word[22m
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor w
+oi7 incididunt ut labore et dolore magna aliqua.
+[?2501hLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor שָ××œ×•Ö¹× incididunt ut
labore et dolore magna aliqua.[?2501l
+
+[1mBox[22m
+[?2501hâ”â”┓╔â•â•—┌─â”â•â”€â•®
+â”—â”┛╚â•â•â””─┘╰─╯[?2501l
+
+[1mBox in mirrored mode[22m
+[?2501h[?2500hâ”â”┓╔â•â•—┌─â”â•â”€â•®
+â”—â”┛╚â•â•â””─┘╰─╯[?2500l[?2501l
+
+ ┌──────────────────────────────â”
+────────────────────────┤ Implicit auto (RTL fallback) ├────────────────────────
+ └──────────────────────────────┘
+[1m⸤Hello⸣ ⸤Shlm⸣[22m
+⸤Hello⸣ ⸤oi7w⸣
+[3 S[?2501h⸤Hello⸣ ⸤שָ×לוֹ×⸣[?2501l[0 S
+
+[1m⸤Shlm⸣ ⸤Hello⸣[22m
+ ⸢Hello⸥ ⸢oi7w⸥
+[3 S[?2501h⸤שָ×לוֹ×⸣ ⸤Hello⸣[?2501l[0 S
+
+[1mParagraph wrapping at foreign word[22m
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor w
+oi7 incididunt ut labore et dolore magna aliqua.
+[3 S[?2501hLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor שָ×לוֹ×
incididunt ut labore et dolore magna aliqua.[?2501l[0 S
+
+[1mBox[22m
+[3 S[?2501h┓â”â”â•—â•â•”â”─┌╮─â•
+â”›â”â”—â•â•â•šâ”˜â”€â””╯─╰[?2501l[0 S
+
+[1mBox in mirrored mode[22m
+[3 S[?2501h[?2500hâ”â”┓╔â•â•—┌─â”â•â”€â•®
+â”—â”┛╚â•â•â””─┘╰─╯[?2500l[?2501l[0 S
+
+ ┌──────────────â”
+────────────────────────────────┤ Explicit LTR ├────────────────────────────────
+ └──────────────┘
+[1m⸤Hello⸣ ⸤mlhS⸣[22m
+⸤Hello⸣ ⸤oi7w⸣
+[8l⸤Hello⸣ ⸤×וֹלשָ×⸣[8h
+
+[1m⸤mlhS⸣ ⸤Hello⸣[22m
+⸤oi7w⸣ ⸤Hello⸣
+[8l⸤×וֹלשָ×⸣ ⸤Hello⸣[8h
+
+[1mBox[22m
+[8lâ”â”┓╔â•â•—┌─â”â•â”€â•®
+â”—â”┛╚â•â•â””─┘╰─╯[8h
+
+[1mBox in mirrored mode[22m
+[8l[?2500hâ”â”┓╔â•â•—┌─â”â•â”€â•®
+â”—â”┛╚â•â•â””─┘╰─╯[?2500l[8h
+
+ ┌──────────────â”
+────────────────────────────────┤ Explicit RTL ├────────────────────────────────
+ └──────────────┘
+[1m⸤olleH⸣ ⸤Shlm⸣[22m
+ ⸢oi7w⸥ ⸢Hello⸥
+[8l[3 S⸤olleH⸣ ⸤שָ×לוֹ×⸣[0 S[8h
+
+[1m⸤Shlm⸣ ⸤olleH⸣[22m
+ ⸢Hello⸥ ⸢oi7w⸥
+[8l[3 S⸤שָ×לוֹ×⸣ ⸤olleH⸣[0 S[8h
+
+[1mBox[22m
+[8l[3 S┓â”â”â•—â•â•”â”─┌╮─â•
+â”›â”â”—â•â•â•šâ”˜â”€â””╯─╰[0 S[8h
+
+[1mBox in mirrored mode[22m
+[8l[3 S[?2500hâ”â”┓╔â•â•—┌─â”â•â”€â•®
+â”—â”┛╚â•â•â””─┘╰─╯[?2500l[0 S[8h
+
+────────────────────────────────────────────────────────────────────────────────
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]