summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/cjk-latin-spacing.pngbin6039 -> 8399 bytes
-rw-r--r--tests/typ/layout/cjk-latin-spacing.typ13
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/ref/layout/cjk-latin-spacing.png b/tests/ref/layout/cjk-latin-spacing.png
index bd4eed9b..629145e4 100644
--- a/tests/ref/layout/cjk-latin-spacing.png
+++ b/tests/ref/layout/cjk-latin-spacing.png
Binary files differ
diff --git a/tests/typ/layout/cjk-latin-spacing.typ b/tests/typ/layout/cjk-latin-spacing.typ
index 9cc94fd2..c6fff5d7 100644
--- a/tests/typ/layout/cjk-latin-spacing.typ
+++ b/tests/typ/layout/cjk-latin-spacing.typ
@@ -14,3 +14,16 @@
中文,中ab文a中,文ab中文
+---
+// Issue #2538
+#set text(cjk-latin-spacing: auto)
+
+abc字
+
+abc字#linebreak()
+
+abc字#linebreak()
+母
+
+abc字\
+母