summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-09-09 22:31:37 +0200
committerLaurenz <laurmaedje@gmail.com>2023-09-09 22:33:17 +0200
commit073effc7407bd314beea09ac8f83e809bdb10497 (patch)
tree920849b41992bd61531f59281ab1b9457836f245 /tests
parent66a595891793a0e6b0b90bbc0bed3e597610f857 (diff)
Fix font family mismatch between Typst and usvg
Fixes #2051
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/new-cm-svg.pngbin0 -> 2911 bytes
-rw-r--r--tests/typ/bugs/new-cm-svg.typ2
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/ref/bugs/new-cm-svg.png b/tests/ref/bugs/new-cm-svg.png
new file mode 100644
index 00000000..c011bbfc
--- /dev/null
+++ b/tests/ref/bugs/new-cm-svg.png
Binary files differ
diff --git a/tests/typ/bugs/new-cm-svg.typ b/tests/typ/bugs/new-cm-svg.typ
new file mode 100644
index 00000000..06cd4532
--- /dev/null
+++ b/tests/typ/bugs/new-cm-svg.typ
@@ -0,0 +1,2 @@
+#set text(font: "New Computer Modern")
+#image("/files/diagram.svg")