summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-10-12 14:01:34 +0200
committerLaurenz <laurmaedje@gmail.com>2024-10-15 15:06:36 +0200
commite7d88b3ac74852c2df15188156e10dad4fddcdd2 (patch)
treea6e50f9f043d106b60c19a7731cfda3e2e3b4421 /tests
parent2a956bb88f073db8d7a462dadb51a213e5ceabf3 (diff)
Fix outline with CJK text (#5187)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/issue-5176-cjk-title.pngbin0 -> 1246 bytes
-rw-r--r--tests/suite/model/outline.typ9
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/issue-5176-cjk-title.png b/tests/ref/issue-5176-cjk-title.png
new file mode 100644
index 00000000..e904fbd7
--- /dev/null
+++ b/tests/ref/issue-5176-cjk-title.png
Binary files differ
diff --git a/tests/suite/model/outline.typ b/tests/suite/model/outline.typ
index 3c134760..18c61df8 100644
--- a/tests/suite/model/outline.typ
+++ b/tests/suite/model/outline.typ
@@ -171,3 +171,12 @@ A
= הוקוס Pocus
= זוהי כותרת שתורגמה על ידי מחשב
+
+--- issue-5176-cjk-title ---
+#set text(font: "Noto Serif CJK SC")
+#show heading: none
+
+#outline(title: none)
+
+= 测
+= 很