summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHong Jiarong <me@jrhim.com>2025-01-31 18:02:42 +0800
committerGitHub <noreply@github.com>2025-01-31 10:02:42 +0000
commit46727878da083eb8186373434997f5f7403cbb66 (patch)
tree302b985b60ac7f2df1d243d1c776ae4e49b1cf51 /tests
parenta1f263862ca3c9594700f0c95a8e5798baf07ea9 (diff)
Disable cjk_latin_spacing in raw by default (#5753)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/issue-5760-disable-cjk-latin-spacing-in-raw.pngbin0 -> 2011 bytes
-rw-r--r--tests/suite/text/raw.typ11
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/ref/issue-5760-disable-cjk-latin-spacing-in-raw.png b/tests/ref/issue-5760-disable-cjk-latin-spacing-in-raw.png
new file mode 100644
index 00000000..96242733
--- /dev/null
+++ b/tests/ref/issue-5760-disable-cjk-latin-spacing-in-raw.png
Binary files differ
diff --git a/tests/suite/text/raw.typ b/tests/suite/text/raw.typ
index 1ba21630..a7f58a8d 100644
--- a/tests/suite/text/raw.typ
+++ b/tests/suite/text/raw.typ
@@ -676,6 +676,17 @@ a b c --------------------
`code`
```
+--- issue-5760-disable-cjk-latin-spacing-in-raw ---
+
+```typ
+#let hi = "你好world"
+```
+
+#show raw: set text(cjk-latin-spacing: auto)
+```typ
+#let hi = "你好world"
+```
+
--- raw-theme-set-to-auto ---
```typ
#let hi = "Hello World"