diff options
| author | Eric Biedert <github@ericbiedert.de> | 2023-09-19 10:28:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-19 10:28:50 +0200 |
| commit | 13758b9c9795d7d6d2fa9551a8936e0f0ff27136 (patch) | |
| tree | a1d3f76a18eb83819b8fd1ead90a5c795a990251 /tests/typ/visualize | |
| parent | 3955b25a10d56c83552763c0ca42fb137fcefb87 (diff) | |
Allow multiple fallback fonts in SVGs (#2122)
Diffstat (limited to 'tests/typ/visualize')
| -rw-r--r-- | tests/typ/visualize/svg-text.typ | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/typ/visualize/svg-text.typ b/tests/typ/visualize/svg-text.typ index 838f7360..11283a76 100644 --- a/tests/typ/visualize/svg-text.typ +++ b/tests/typ/visualize/svg-text.typ @@ -7,3 +7,12 @@ image("/files/diagram.svg"), caption: [A textful diagram], ) + +--- +#set page(width: 250pt) +#show image: set text(font: ("Roboto", "Noto Serif CJK SC")) + +#figure( + image("/files/chinese.svg"), + caption: [Bilingual text] +) |
