From f25874640ee2363937dd2534b7f2a59f98dba3f0 Mon Sep 17 00:00:00 2001 From: Rik Huijzer Date: Sat, 13 Apr 2024 10:48:07 +0200 Subject: [PATCH] Mention `typst fonts` for `font` parameter (#3919) --- crates/typst/src/text/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/typst/src/text/mod.rs b/crates/typst/src/text/mod.rs index bcfca08d1..f7c19d8e6 100644 --- a/crates/typst/src/text/mod.rs +++ b/crates/typst/src/text/mod.rs @@ -106,7 +106,9 @@ pub struct TextElem { /// /// - Locally, Typst uses your installed system fonts. In addition, you can /// use the `--font-path` argument or `TYPST_FONT_PATHS` environment - /// variable to add directories that should be scanned for fonts. + /// variable to add directories that should be scanned for fonts. Run + /// `typst fonts` to see the fonts that Typst has discovered on your + /// system. /// /// ```example /// #set text(font: "PT Sans")