summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/visualize/svg-text.pngbin0 -> 14244 bytes
-rw-r--r--tests/typ/visualize/svg-text.typ9
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/visualize/svg-text.png b/tests/ref/visualize/svg-text.png
new file mode 100644
index 00000000..fbaa8576
--- /dev/null
+++ b/tests/ref/visualize/svg-text.png
Binary files differ
diff --git a/tests/typ/visualize/svg-text.typ b/tests/typ/visualize/svg-text.typ
new file mode 100644
index 00000000..132905a8
--- /dev/null
+++ b/tests/typ/visualize/svg-text.typ
@@ -0,0 +1,9 @@
+// Test SVG with text.
+
+---
+#set page(width: 250pt)
+
+#figure(
+ image("/diagram.svg"),
+ caption: [A textful diagram],
+)