[pango/matthiasc/for-master: 1/7] Add a test for the previous change




commit f820a7f24143baf58ff84c7cf08e13a8d0d7c238
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jul 10 17:02:48 2021 -0400

    Add a test for the previous change
    
    Add a test that shows itemization putting space
    at the beginning of an item when that is the
    right thing to do.

 tests/layouts/valid-20.expected | 58 +++++++++++++++++++++++++++++++++++++++++
 tests/layouts/valid-20.markup   |  4 +++
 2 files changed, 62 insertions(+)
---
diff --git a/tests/layouts/valid-20.expected b/tests/layouts/valid-20.expected
new file mode 100644
index 00000000..b07b80e8
--- /dev/null
+++ b/tests/layouts/valid-20.expected
@@ -0,0 +1,58 @@
+
+XXX
X X
𝚫 X
𝚫 𝚫
𝚫𝚫𝚫
+
+
+--- parameters
+
+wrapped: 1
+ellipsized: 0
+lines: 8
+
+--- attributes
+
+range 0 47
+[0,47]font-desc=Monospace 10
+range 47 2147483647
+
+--- directions
+
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
+
+--- cursor positions
+
+0(0) 1(0) 2(0) 3(0) 4(0) 4(1) 8(0) 9(0) 10(0) 10(1) 17(0) 18(0) 19(0) 19(1) 26(0) 27(0) 31(0) 31(1) 38(0) 
42(0) 42(1) 47(0) 48(0) 
+
+--- lines
+
+i=1, index=0, paragraph-start=1, dir=ltr '
+'
+i=2, index=1, paragraph-start=1, dir=ltr 'XXX
'
+i=3, index=7, paragraph-start=0, dir=ltr 'X X
'
+i=4, index=13, paragraph-start=0, dir=ltr '𝚫 X
'
+i=5, index=22, paragraph-start=0, dir=ltr '𝚫 𝚫
'
+i=6, index=34, paragraph-start=0, dir=ltr '𝚫𝚫𝚫
+'
+i=7, index=47, paragraph-start=1, dir=ltr '
+'
+i=8, index=48, paragraph-start=1, dir=ltr ''
+
+--- runs
+
+i=1, index=0, no run, line end
+i=2, index=1, chars=3, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, 'XXX'
+i=3, index=4, chars=1, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, '
'
+i=4, index=7, no run, line end
+i=5, index=7, chars=3, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, 'X X'
+i=6, index=10, chars=1, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, '
'
+i=7, index=13, no run, line end
+i=8, index=13, chars=1, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, '𝚫'
+i=9, index=17, chars=2, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, ' X'
+i=10, index=19, chars=1, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, '
'
+i=11, index=22, no run, line end
+i=12, index=22, chars=3, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, '𝚫 𝚫'
+i=13, index=31, chars=1, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, '
'
+i=14, index=34, no run, line end
+i=15, index=34, chars=3, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, '𝚫𝚫𝚫'
+i=16, index=46, no run, line end
+i=17, index=47, no run, line end
+i=18, index=48, no run, line end
diff --git a/tests/layouts/valid-20.markup b/tests/layouts/valid-20.markup
new file mode 100644
index 00000000..eae91d89
--- /dev/null
+++ b/tests/layouts/valid-20.markup
@@ -0,0 +1,4 @@
+# test that we put spaces in the item with the 'better' font
+<span font_desc="Monospace 10">
+XXX
X X
𝚫 X
𝚫 𝚫
𝚫𝚫𝚫
+</span>


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