diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-25 19:14:08 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-25 20:04:30 +0100 |
| commit | 7597b997890647aa0546ec7bfef1eae4e33cedcb (patch) | |
| tree | 286f2f30fe4814d1b5171ed166c9f162b152ce93 /library/src/text/mod.rs | |
| parent | 49940fde7398a642f88c444700d482436266909d (diff) | |
New default style
Diffstat (limited to 'library/src/text/mod.rs')
| -rw-r--r-- | library/src/text/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/src/text/mod.rs b/library/src/text/mod.rs index 29217944..bdd2d0c2 100644 --- a/library/src/text/mod.rs +++ b/library/src/text/mod.rs @@ -80,7 +80,8 @@ impl TextNode { impl TextNode { /// A prioritized sequence of font families. #[property(skip, referenced)] - pub const FAMILY: FallbackList = FallbackList(vec![FontFamily::new("IBM Plex Sans")]); + pub const FAMILY: FallbackList = + FallbackList(vec![FontFamily::new("Linux Libertine")]); /// Whether to allow last resort font fallback when the primary font list /// contains no match. This lets Typst search through all available fonts @@ -115,7 +116,7 @@ impl TextNode { /// style later if you change your mind about how to signify the emphasis. /// /// ```example - /// #text("IBM Plex Sans", style: "italic")[Italic] + /// #text("Linux Libertine", style: "italic")[Italic] /// #text("DejaVu Sans", style: "oblique")[Oblique] /// ``` pub const STYLE: FontStyle = FontStyle::Normal; |
