summaryrefslogtreecommitdiff
path: root/tests/suite/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-09-30 17:19:22 +0200
committerGitHub <noreply@github.com>2024-09-30 15:19:22 +0000
commit7ff83db757330899576b50b87968ca86f2539f7b (patch)
tree73a779808e84edec1539a07f49b8123b8424da59 /tests/suite/text
parentd94acd615e5bde7f6d131be351e145477e515721 (diff)
Change default font to Libertinus Serif (#4969)
Diffstat (limited to 'tests/suite/text')
-rw-r--r--tests/suite/text/font.typ9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/suite/text/font.typ b/tests/suite/text/font.typ
index 8396b237..443be6ed 100644
--- a/tests/suite/text/font.typ
+++ b/tests/suite/text/font.typ
@@ -66,9 +66,9 @@ Emoji: 🐪, 🌋, 🏞
#set text(something: "invalid")
--- text-unknown-font-family-warning ---
-#text(font: "linux libertine", "I exist, ")
+#text(font: "libertinus serif")[I exist,]
// Warning: 13-26 unknown font family: nonexistent
-#text(font: "nonexistent", "but")
+#text(font: "nonexistent")[but]
// Warning: 17-35 unknown font family: also-nonexistent
#set text(font: "also-nonexistent")
I
@@ -76,3 +76,8 @@ I
// Warning: 23-55 unknown font family: nonexistent-fonts
#let var = text(font: ("list-of", "nonexistent-fonts"))[don't]
#var
+
+--- text-font-linux-libertine ---
+// Warning: 17-34 Typst's default font has changed from Linux Libertine to its successor Libertinus Serif
+// Hint: 17-34 please set the font to `"Libertinus Serif"` instead
+#set text(font: "Linux Libertine")