summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/2650-cjk-latin-spacing-meta.pngbin0 -> 1299 bytes
-rw-r--r--tests/typ/bugs/2650-cjk-latin-spacing-meta.typ6
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/bugs/2650-cjk-latin-spacing-meta.png b/tests/ref/bugs/2650-cjk-latin-spacing-meta.png
new file mode 100644
index 00000000..35ff0e62
--- /dev/null
+++ b/tests/ref/bugs/2650-cjk-latin-spacing-meta.png
Binary files differ
diff --git a/tests/typ/bugs/2650-cjk-latin-spacing-meta.typ b/tests/typ/bugs/2650-cjk-latin-spacing-meta.typ
new file mode 100644
index 00000000..e234e651
--- /dev/null
+++ b/tests/typ/bugs/2650-cjk-latin-spacing-meta.typ
@@ -0,0 +1,6 @@
+// https://github.com/typst/typst/issues/2650
+#let with-locate(body) = locate(loc => body)
+
+测a试
+
+测#with-locate[a]试