summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWenzhuo Liu <mgt@oi-wiki.org>2023-11-13 19:13:05 +0800
committerGitHub <noreply@github.com>2023-11-13 12:13:05 +0100
commite07275163f6039a0f93e14574b136bd1041bb2ad (patch)
treedbba879a08c807704a0806bd90869578e804320a /tests
parent97bb0fbce3b21dcac4334b9d01d27cd83498e460 (diff)
Filter out meta items when adding CJK-Latin (#2655)
spacing.
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]试