summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/bidi-tofus.pngbin0 -> 513 bytes
-rw-r--r--tests/typ/bugs/bidi-tofus.typ7
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/bugs/bidi-tofus.png b/tests/ref/bugs/bidi-tofus.png
new file mode 100644
index 00000000..1b7a7d8b
--- /dev/null
+++ b/tests/ref/bugs/bidi-tofus.png
Binary files differ
diff --git a/tests/typ/bugs/bidi-tofus.typ b/tests/typ/bugs/bidi-tofus.typ
new file mode 100644
index 00000000..3b43b280
--- /dev/null
+++ b/tests/typ/bugs/bidi-tofus.typ
@@ -0,0 +1,7 @@
+// Test that shaping missing characters in both left-to-right and
+// right-to-left directions does not cause a crash.
+
+---
+#"\u{590}\u{591}\u{592}\u{593}"
+
+#"\u{30000}\u{30001}\u{30002}\u{30003}"