summaryrefslogtreecommitdiff
path: root/tests/layouts
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-28 04:00:22 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-06-03 15:00:21 +0000
commitf48aeb2c5c34aeef466be21eb9c5e9f03170318b (patch)
tree384dbd7d08dcf796dca22a5efea23533ad7bf97b /tests/layouts
parent5689b42773c65302a48438322d8188e59d57012a (diff)
downloadpango-f48aeb2c5c34aeef466be21eb9c5e9f03170318b.tar.gz
Add a layout test with Emoji
Diffstat (limited to 'tests/layouts')
-rw-r--r--tests/layouts/valid-3.expected25
-rw-r--r--tests/layouts/valid-3.markup2
2 files changed, 27 insertions, 0 deletions
diff --git a/tests/layouts/valid-3.expected b/tests/layouts/valid-3.expected
new file mode 100644
index 00000000..ce983c34
--- /dev/null
+++ b/tests/layouts/valid-3.expected
@@ -0,0 +1,25 @@
+ABC😀️D
+
+---
+
+wrapped: 0
+ellipsized: 0
+lines: 2
+
+---
+
+range 0 2147483647
+
+---
+
+i=1, index=0, paragraph-start=1, dir=ltr 'ABC😀️D
+'
+i=2, index=12, paragraph-start=1, dir=ltr ''
+
+---
+
+i=1, index=0, chars=3, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, 'ABC'
+i=2, index=3, chars=2, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, '😀️'
+i=3, index=10, chars=1, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, 'D'
+i=4, index=11, no run, line end
+i=5, index=12, no run, line end
diff --git a/tests/layouts/valid-3.markup b/tests/layouts/valid-3.markup
new file mode 100644
index 00000000..4e394a42
--- /dev/null
+++ b/tests/layouts/valid-3.markup
@@ -0,0 +1,2 @@
+
+ABC😀️D