Mention typst fonts for font parameter (#3919)

This commit is contained in:
Rik Huijzer 2024-04-13 10:48:07 +02:00 committed by GitHub
parent 020294fca9
commit f25874640e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,7 +106,9 @@ pub struct TextElem {
/// ///
/// - Locally, Typst uses your installed system fonts. In addition, you can /// - Locally, Typst uses your installed system fonts. In addition, you can
/// use the `--font-path` argument or `TYPST_FONT_PATHS` environment /// 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 /// ```example
/// #set text(font: "PT Sans") /// #set text(font: "PT Sans")