summaryrefslogtreecommitdiff
path: root/tests/layouts/valid-8.expected
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-05 22:00:21 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-06 14:45:48 -0400
commit4289ac335d05afd72eb8665f9d835382fe3e22e8 (patch)
tree12b3b6f79ba4413c004b6ed0ca91c76ceb4f1805 /tests/layouts/valid-8.expected
parentfcf5189f59098785540ceb751a2db2f8061c6fce (diff)
downloadpango-4289ac335d05afd72eb8665f9d835382fe3e22e8.tar.gz
tests: Check more layout properties
Allow setting more layout properties in test-layout, and check their values after setting them. Also print out directions and cursor positions. Update existing tests, and add more.
Diffstat (limited to 'tests/layouts/valid-8.expected')
-rw-r--r--tests/layouts/valid-8.expected34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/layouts/valid-8.expected b/tests/layouts/valid-8.expected
new file mode 100644
index 00000000..185ba373
--- /dev/null
+++ b/tests/layouts/valid-8.expected
@@ -0,0 +1,34 @@
+Hello שלום Γειά σας
+
+--- parameters
+
+wrapped: 0
+ellipsized: 0
+lines: 2
+
+--- attributes
+
+range 0 2147483647
+
+--- directions
+
+0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0
+
+--- cursor positions
+
+0(0) 1(0) 2(0) 3(0) 4(0) 5(0) 6(0) 12(0) 10(0) 8(0) 14(0) 15(0) 17(0) 19(0) 21(0) 23(0) 24(0) 26(0) 28(0) 28(1) 31(0)
+
+--- lines
+
+i=1, index=0, paragraph-start=1, dir=ltr 'Hello שלום Γειά σας
+'
+i=2, index=31, paragraph-start=1, dir=ltr ''
+
+--- runs
+
+i=1, index=0, chars=6, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, 'Hello '
+i=2, index=12, chars=4, level=1, gravity=south, flags=0, font=OMITTED, script=hebrew, language=he, 'שלום'
+i=3, index=14, chars=1, level=0, gravity=south, flags=0, font=OMITTED, script=hebrew, language=he, ' '
+i=4, index=15, chars=8, level=0, gravity=south, flags=0, font=OMITTED, script=greek, language=el, 'Γειά σας'
+i=5, index=30, no run, line end
+i=6, index=31, no run, line end