[vte/wip/egmont/bidi: 26/76] improve box tests



commit 36346386f6e25b606d560d2b60e57c86374a5609
Author: Egmont Koblinger <egmont gmail com>
Date:   Thu Aug 23 17:37:09 2018 +0200

    improve box tests

 doc/bidi.txt | 208 +++++++++++++++++++++++++++++------------------------------
 1 file changed, 104 insertions(+), 104 deletions(-)
---
diff --git a/doc/bidi.txt b/doc/bidi.txt
index d8b87ca4..a30e48b5 100644
--- a/doc/bidi.txt
+++ b/doc/bidi.txt
@@ -2,10 +2,10 @@
 ═════════════════╣ 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.
+In the text examples, the subsection title 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.
@@ -15,151 +15,151 @@ Boxes should all show up nicely.
                                 ┌──────────────┐
 ────────────────────────────────┤ Implicit LTR ├────────────────────────────────
                                 └──────────────┘
-⸤Hello⸣ ⸤Shlm⸣
-⸤Hello⸣ ⸤oi7w⸣
-⸤Hello⸣ ⸤שָׁלוֹם⸣
+⸤Hello⸣ ⸤Shlm⸣
+⸤Hello⸣ ⸤oi7w⸣
+⸤Hello⸣ ⸤שָׁלוֹם⸣
 
-Hello1 ⸤Hello2⸣ Hello3 Shlm1 ⸤Shlm2⸣ Shlm3
-Hello1 ⸤Hello2⸣ Hello3 3oi7w ⸢2oi7w⸥ 1oi7w
-Hello1 ⸤Hello2⸣ Hello3 שָׁלוֹם1 ⸤שָׁלוֹם2⸣ שָׁלוֹם3
+Hello1 ⸤Hello2⸣ Hello3 Shlm1 ⸤Shlm2⸣ Shlm3
+Hello1 ⸤Hello2⸣ Hello3 3oi7w ⸢2oi7w⸥ 1oi7w
+Hello1 ⸤Hello2⸣ Hello3 שָׁלוֹם1 ⸤שָׁלוֹם2⸣ שָׁלוֹם3
 
-⸤Shlm⸣ ⸤Hello⸣
-⸤oi7w⸣ ⸤Hello⸣
-⸤שָׁלוֹם⸣ ⸤Hello⸣
+⸤Shlm⸣ ⸤Hello⸣
+⸤oi7w⸣ ⸤Hello⸣
+⸤שָׁלוֹם⸣ ⸤Hello⸣
 
-Shlm1 ⸤Shlm2⸣ Shlm3 Hello1 ⸤Hello2⸣ Hello3
-3oi7w ⸢2oi7w⸥ 1oi7w Hello1 ⸤Hello2⸣ Hello3
-שָׁלוֹם1 ⸤שָׁלוֹם2⸣ שָׁלוֹם3 Hello1 ⸤Hello2⸣ Hello3
+Shlm1 ⸤Shlm2⸣ Shlm3 Hello1 ⸤Hello2⸣ Hello3
+3oi7w ⸢2oi7w⸥ 1oi7w Hello1 ⸤Hello2⸣ Hello3
+שָׁלוֹם1 ⸤שָׁלוֹם2⸣ שָׁלוֹם3 Hello1 ⸤Hello2⸣ Hello3
 
-Paragraph wrapping at foreign word
-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.
+Paragraph wrapping at foreign word
+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.
 
-Box
-┏━┓╔═╗┌─┐╭─╮
-┗━┛╚═╝└─┘╰─╯
+Box
+┏━┓    ╔═╗    ┌─┐    ╭─╮
+┗━┛   a╚═╝b  א┘─└ב   ╰─╯
 
-Box in mirrored mode
-[?2500h┏━┓╔═╗┌─┐╭─╮
-┗━┛╚═╝└─┘╰─╯[?2500l
+Box in mirrored mode[?2500h
+┏━┓    ╔═╗    ┌─┐    ╭─╮
+┗━┛   a╚═╝b  א└─┘ב   ╰─╯[?2500l
 
                                 ┌──────────────┐
 ────────────────────────────────┤ Implicit RTL ├────────────────────────────────
                                 └──────────────┘
-⸤Hello⸣ ⸤Shlm⸣
-                                                                  ⸢oi7w⸥ ⸢Hello⸥
-[3 S⸤Hello⸣ ⸤שָׁלוֹם⸣[0 S
+⸤Hello⸣ ⸤Shlm⸣
+                                                                  ⸢oi7w⸥ ⸢Hello⸥
+[3 S⸤Hello⸣ ⸤שָׁלוֹם⸣[0 S
 
-Hello1 ⸤Hello2⸣ Hello3 Shlm1 ⸤Shlm2⸣ Shlm3
-                                      3oi7w ⸢2oi7w⸥ 1oi7w Hello1 ⸤Hello2⸣ Hello3
-[3 SHello1 ⸤Hello2⸣ Hello3 שָׁלוֹם1 ⸤שָׁלוֹם2⸣ שָׁלוֹם3[0 S
+Hello1 ⸤Hello2⸣ Hello3 Shlm1 ⸤Shlm2⸣ Shlm3
+                                      3oi7w ⸢2oi7w⸥ 1oi7w Hello1 ⸤Hello2⸣ Hello3
+[3 SHello1 ⸤Hello2⸣ Hello3 שָׁלוֹם1 ⸤שָׁלוֹם2⸣ שָׁלוֹם3[0 S
 
-⸤Shlm⸣ ⸤Hello⸣
-                                                                  ⸢Hello⸥ ⸢oi7w⸥
-[3 S⸤שָׁלוֹם⸣ ⸤Hello⸣[0 S
+⸤Shlm⸣ ⸤Hello⸣
+                                                                  ⸢Hello⸥ ⸢oi7w⸥
+[3 S⸤שָׁלוֹם⸣ ⸤Hello⸣[0 S
 
-Shlm1 ⸤Shlm2⸣ Shlm3 Hello1 ⸤Hello2⸣ Hello3
-                                      Hello1 ⸤Hello2⸣ Hello3 3oi7w ⸢2oi7w⸥ 1oi7w
-[3 Sשָׁלוֹם1 ⸤שָׁלוֹם2⸣ שָׁלוֹם3 Hello1 ⸤Hello2⸣ Hello3[0 S
+Shlm1 ⸤Shlm2⸣ Shlm3 Hello1 ⸤Hello2⸣ Hello3
+                                      Hello1 ⸤Hello2⸣ Hello3 3oi7w ⸢2oi7w⸥ 1oi7w
+[3 Sשָׁלוֹם1 ⸤שָׁלוֹם2⸣ שָׁלוֹם3 Hello1 ⸤Hello2⸣ Hello3[0 S
 
-Paragraph with wrong direction (should look broken)
-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
+Paragraph with wrong direction (should look broken)
+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
 
-Box
-[3 S┓━┏╗═╔┐─┌╮─╭
-┛━┗╝═╚┘─└╯─╰[0 S
+Box[3 S
+┓━┏    ╗═╔    ┐─┌    ╮─╭
+┛━┗   a╚═╝b  א┘─└ב   ╯─╰[0 S
 
-Box in mirrored mode
-[3 S[?2500h┏━┓╔═╗┌─┐╭─╮
-┗━┛╚═╝└─┘╰─╯[?2500l[0 S
+Box in mirrored mode[3 S[?2500h
+┏━┓    ╔═╗    ┌─┐    ╭─╮
+┗━┛   a╚═╝b  א└─┘ב   ╰─╯[?2500l[0 S
 
                         ┌──────────────────────────────┐
 ────────────────────────┤ Implicit auto (LTR fallback) ├────────────────────────
                         └──────────────────────────────┘
-⸤Hello⸣ ⸤Shlm⸣
-⸤Hello⸣ ⸤oi7w⸣
-[?2501h⸤Hello⸣ ⸤שָׁלוֹם⸣[?2501l
+⸤Hello⸣ ⸤Shlm⸣
+⸤Hello⸣ ⸤oi7w⸣
+[?2501h⸤Hello⸣ ⸤שָׁלוֹם⸣[?2501l
 
-⸤Shlm⸣ ⸤Hello⸣
-                                                                  ⸢Hello⸥ ⸢oi7w⸥
-[?2501h⸤שָׁלוֹם⸣ ⸤Hello⸣[?2501l
+⸤Shlm⸣ ⸤Hello⸣
+                                                                  ⸢Hello⸥ ⸢oi7w⸥
+[?2501h⸤שָׁלוֹם⸣ ⸤Hello⸣[?2501l
 
-Paragraph wrapping at foreign word
-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
+Paragraph wrapping at foreign word
+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
 
-Box
-[?2501h┏━┓╔═╗┌─┐╭─╮
-┗━┛╚═╝└─┘╰─╯[?2501l
+Box[?2501h
+┏━┓    ╔═╗    ┌─┐    ╭─╮
+┗━┛   a╚═╝b  א┘─└ב   ╰─╯[?2501l
 
-Box in mirrored mode
-[?2501h[?2500h┏━┓╔═╗┌─┐╭─╮
-┗━┛╚═╝└─┘╰─╯[?2500l[?2501l
+Box in mirrored mode[?2501h[?2500h
+┏━┓    ╔═╗    ┌─┐    ╭─╮
+┗━┛   a╚═╝b  א└─┘ב   ╰─╯[?2500l[?2501l
 
                         ┌──────────────────────────────┐
 ────────────────────────┤ Implicit auto (RTL fallback) ├────────────────────────
                         └──────────────────────────────┘
-⸤Hello⸣ ⸤Shlm⸣
-⸤Hello⸣ ⸤oi7w⸣
-[3 S[?2501h⸤Hello⸣ ⸤שָׁלוֹם⸣[?2501l[0 S
+⸤Hello⸣ ⸤Shlm⸣
+⸤Hello⸣ ⸤oi7w⸣
+[3 S[?2501h⸤Hello⸣ ⸤שָׁלוֹם⸣[?2501l[0 S
 
-⸤Shlm⸣ ⸤Hello⸣
-                                                                  ⸢Hello⸥ ⸢oi7w⸥
-[3 S[?2501h⸤שָׁלוֹם⸣ ⸤Hello⸣[?2501l[0 S
+⸤Shlm⸣ ⸤Hello⸣
+                                                                  ⸢Hello⸥ ⸢oi7w⸥
+[3 S[?2501h⸤שָׁלוֹם⸣ ⸤Hello⸣[?2501l[0 S
 
-Paragraph wrapping at foreign word
-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
+Paragraph wrapping at foreign word
+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
 
-Box
-[3 S[?2501h┓━┏╗═╔┐─┌╮─╭
-┛━┗╝═╚┘─└╯─╰[?2501l[0 S
+Box[3 S[?2501h
+┓━┏    ╗═╔    ┐─┌    ╮─╭
+┛━┗   א╝═╚ב  a└─┘b   ╯─╰[?2501l[0 S
 
-Box in mirrored mode
-[3 S[?2501h[?2500h┏━┓╔═╗┌─┐╭─╮
-┗━┛╚═╝└─┘╰─╯[?2500l[?2501l[0 S
+Box in mirrored mode[3 S[?2501h[?2500h
+┏━┓    ╔═╗    ┌─┐    ╭─╮
+┗━┛   א╚═╝ב  a└─┘b   ╰─╯[?2500l[?2501l[0 S
 
                                 ┌──────────────┐
 ────────────────────────────────┤ Explicit LTR ├────────────────────────────────
                                 └──────────────┘
-⸤Hello⸣ ⸤mlhS⸣
-⸤Hello⸣ ⸤oi7w⸣
-⸤Hello⸣ ⸤םוֹלשָׁ⸣
+⸤Hello⸣ ⸤mlhS⸣
+⸤Hello⸣ ⸤oi7w⸣
+⸤Hello⸣ ⸤םוֹלשָׁ⸣
 
-⸤mlhS⸣ ⸤Hello⸣
-⸤oi7w⸣ ⸤Hello⸣
-⸤םוֹלשָׁ⸣ ⸤Hello⸣
+⸤mlhS⸣ ⸤Hello⸣
+⸤oi7w⸣ ⸤Hello⸣
+⸤םוֹלשָׁ⸣ ⸤Hello⸣
 
-Box
-┏━┓╔═╗┌─┐╭─╮
-┗━┛╚═╝└─┘╰─╯
+Box
+┏━┓    ╔═╗    ┌─┐    ╭─╮
+┗━┛   a╚═╝b  ב└─┘א   ╰─╯
 
-Box in mirrored mode
-[?2500h┏━┓╔═╗┌─┐╭─╮
-┗━┛╚═╝└─┘╰─╯[?2500l
+Box in mirrored mode[?2500h
+┏━┓    ╔═╗    ┌─┐    ╭─╮
+┗━┛   a╚═╝b  ב└─┘א   ╰─╯[?2500l
 
                                 ┌──────────────┐
 ────────────────────────────────┤ Explicit RTL ├────────────────────────────────
                                 └──────────────┘
-⸤olleH⸣ ⸤Shlm⸣
-                                                                  ⸢oi7w⸥ ⸢Hello⸥
-[3 S⸤olleH⸣ ⸤שָׁלוֹם⸣[0 S
+⸤olleH⸣ ⸤Shlm⸣
+                                                                  ⸢oi7w⸥ ⸢Hello⸥
+[3 S⸤olleH⸣ ⸤שָׁלוֹם⸣[0 S
 
-⸤Shlm⸣ ⸤olleH⸣
-                                                                  ⸢Hello⸥ ⸢oi7w⸥
-[3 S⸤שָׁלוֹם⸣ ⸤olleH⸣[0 S
+⸤Shlm⸣ ⸤olleH⸣
+                                                                  ⸢Hello⸥ ⸢oi7w⸥
+[3 S⸤שָׁלוֹם⸣ ⸤olleH⸣[0 S
 
-Box
-[3 S┓━┏╗═╔┐─┌╮─╭
-┛━┗╝═╚┘─└╯─╰[0 S
+Box[3 S
+┓━┏    ╗═╔    ┐─┌    ╮─╭
+┛━┗   b╝═╚a  א┘─└ב   ╯─╰[0 S
 
-Box in mirrored mode
-[3 S[?2500h┏━┓╔═╗┌─┐╭─╮
-┗━┛╚═╝└─┘╰─╯[?2500l[0 S
+Box in mirrored mode[3 S[?2500h
+┏━┓    ╔═╗    ┌─┐    ╭─╮
+┗━┛   b╚═╝a  א└─┘ב   ╰─╯[?2500l[0 S
 
 ────────────────────────────────────────────────────────────────────────────────


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]