summaryrefslogtreecommitdiff
path: root/tests/typ/text/stroke.typ
blob: 713bbe2f46f39dd8687111482af14584ab479f06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#set text(size: 20pt)
#set page(width: auto)
测试字体 #lorem(5)

#text(stroke: 0.3pt + red)[测试字体#lorem(5)]

#text(stroke: 0.5pt + red)[测试字体#lorem(5)]

#text(stroke: 0.7pt + red)[测试字体#lorem(5)]

#text(stroke: 1pt + red)[测试字体#lorem(5)]

#text(stroke: 2pt + red)[测试字体#lorem(5)]

#text(stroke: 5pt + red)[测试字体#lorem(5)]

#text(stroke: 7pt + red)[测试字体#lorem(5)]

#text(stroke: (paint: blue, thickness: 1pt, dash: "dashed"))[测试字体#lorem(5)]

#text(stroke: 1pt + gradient.linear(..color.map.rainbow))[测试字体#lorem(5)] // gradient doesn't work now