diff options
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/text/stroke.typ | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/typ/text/stroke.typ b/tests/typ/text/stroke.typ new file mode 100644 index 00000000..713bbe2f --- /dev/null +++ b/tests/typ/text/stroke.typ @@ -0,0 +1,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 |
