typst/tests/typ/func-font-fallback.typ
Laurenz ba3d43f7b2 Refresh function call and dictionary syntax
- No colon between function name and arguments, just whitespace
- "Named" arguments (previously "keyword" arguments) use colon instead of equals sign
2020-12-27 20:45:20 +01:00

19 lines
428 B
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Test font fallback.
// Source Sans Pro + Segoe UI Emoji.
Emoji: 🏀
// CMU Serif + Noto Emoji.
[font "CMU Serif", "Noto Emoji"][Emoji: 🏀]
// Class definitions.
[font math: ("CMU Serif", "Latin Modern Math", "Noto Emoji")]
[font math][Math: ∫ α + β ➗ 3]
// Class redefinition.
[font sans-serif: "Noto Emoji"]
[font sans-serif: ("Archivo", sans-serif)]
New sans-serif. 🚀
// TODO: Add tests for other scripts.