summaryrefslogtreecommitdiff
path: root/tests/typ/visualize
diff options
context:
space:
mode:
authorEric Biedert <github@ericbiedert.de>2023-09-19 10:28:50 +0200
committerGitHub <noreply@github.com>2023-09-19 10:28:50 +0200
commit13758b9c9795d7d6d2fa9551a8936e0f0ff27136 (patch)
treea1d3f76a18eb83819b8fd1ead90a5c795a990251 /tests/typ/visualize
parent3955b25a10d56c83552763c0ca42fb137fcefb87 (diff)
Allow multiple fallback fonts in SVGs (#2122)
Diffstat (limited to 'tests/typ/visualize')
-rw-r--r--tests/typ/visualize/svg-text.typ9
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]
+)