summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-10-28 20:35:28 +0200
committerLaurenz <laurmaedje@gmail.com>2023-10-28 20:35:28 +0200
commit221609b11c5c184a59249632a1f00fc908758c3c (patch)
tree28473b60688c0808e40e0813e9e35ed9618f9e1c
parentaa62d054532e91f988c39dee97c00ce54f18b605 (diff)
Add regression test for #80
-rw-r--r--tests/ref/bugs/emoji-linebreak.pngbin0 -> 287 bytes
-rw-r--r--tests/typ/bugs/emoji-linebreak.typ6
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/bugs/emoji-linebreak.png b/tests/ref/bugs/emoji-linebreak.png
new file mode 100644
index 00000000..6944233d
--- /dev/null
+++ b/tests/ref/bugs/emoji-linebreak.png
Binary files differ
diff --git a/tests/typ/bugs/emoji-linebreak.typ b/tests/typ/bugs/emoji-linebreak.typ
new file mode 100644
index 00000000..2f7e74e7
--- /dev/null
+++ b/tests/typ/bugs/emoji-linebreak.typ
@@ -0,0 +1,6 @@
+// Test that there are no linebreaks in composite emoji (issue #80).
+
+---
+#set page(width: 50pt, height: auto)
+#h(99%) 🏳️‍🌈
+🏳️‍🌈