mirror of
https://github.com/typst/typst
synced 2025-05-20 12:05:27 +08:00
Mention typst fonts
for font
parameter (#3919)
This commit is contained in:
parent
e039552f9d
commit
b729fb3255
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user