Skip to content

Commit 80fb6de

Browse files
committed
fix: update font config to let zh-cn fonts cover punctuation marks
1 parent c4ad8cd commit 80fb6de

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

common/theme/type.typ

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,18 @@
2121
)
2222

2323
#let 字体 = (
24-
宋体: ("Times New Roman", "SimSun"),
25-
楷体: ("Times New Roman", "KaiTi"),
26-
黑体: ("Times New Roman", "Adobe Heiti Std", "SimHei"),
24+
宋体: (
25+
(name: "Times New Roman", covers: "latin-in-cjk"),
26+
"SimSun",
27+
),
28+
楷体: (
29+
(name: "Times New Roman", covers: "latin-in-cjk"),
30+
"KaiTi",
31+
),
32+
黑体: (
33+
(name: "Times New Roman", covers: "latin-in-cjk"),
34+
"Adobe Heiti Std",
35+
"SimHei",
36+
),
2737
代码: ("Consolas", "Courier New", "SimSun"),
2838
)

0 commit comments

Comments
 (0)