summaryrefslogtreecommitdiff
path: root/tests/typ/func-font-fallback.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/func-font-fallback.typ')
-rw-r--r--tests/typ/func-font-fallback.typ14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/typ/func-font-fallback.typ b/tests/typ/func-font-fallback.typ
index 9b60d46c..c6dd81f0 100644
--- a/tests/typ/func-font-fallback.typ
+++ b/tests/typ/func-font-fallback.typ
@@ -4,15 +4,17 @@
Emoji: 🏀
// CMU Serif + Noto Emoji.
-[font "CMU Serif", "Noto Emoji"][Emoji: 🏀]
+[font "CMU Serif", "Noto Emoji"][
+ Emoji: 🏀
+]
// Class definitions.
-[font math: ("CMU Serif", "Latin Modern Math", "Noto Emoji")]
-[font math][Math: ∫ α + β ➗ 3]
+[font serif: ("CMU Serif", "Latin Modern Math", "Noto Emoji")]
+[font serif][
+ Math: ∫ α + β ➗ 3
+]
-// Class redefinition.
+// Class definition reused.
[font sans-serif: "Noto Emoji"]
[font sans-serif: ("Archivo", sans-serif)]
New sans-serif. 🚀
-
-// TODO: Add tests for other scripts.