mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Add the list of built-in fonts in the documentation (#4026)
This commit is contained in:
parent
6ba94c4518
commit
eac2200c97
@ -102,11 +102,14 @@ pub struct TextElem {
|
|||||||
/// - In the web app, you can see the list of available fonts by clicking on
|
/// - In the web app, you can see the list of available fonts by clicking on
|
||||||
/// the "Ag" button. You can provide additional fonts by uploading `.ttf`
|
/// the "Ag" button. You can provide additional fonts by uploading `.ttf`
|
||||||
/// or `.otf` files into your project. They will be discovered
|
/// or `.otf` files into your project. They will be discovered
|
||||||
/// automatically.
|
/// automatically. The priority is: project fonts > server fonts.
|
||||||
///
|
///
|
||||||
/// - Locally, Typst uses your installed system fonts. In addition, you can
|
/// - Locally, Typst uses your installed system fonts or embedded fonts in
|
||||||
/// use the `--font-path` argument or `TYPST_FONT_PATHS` environment
|
/// the CLI, which are `Linux Libertine`, `New Computer Modern`,
|
||||||
/// variable to add directories that should be scanned for fonts. Run
|
/// `New Computer Modern Math`, and `DejaVu Sans Mono`. In addition, you
|
||||||
|
/// can use the `--font-path` argument or `TYPST_FONT_PATHS` environment
|
||||||
|
/// variable to add directories that should be scanned for fonts. The
|
||||||
|
/// priority is: `--font-paths` > system fonts > embedded fonts. Run
|
||||||
/// `typst fonts` to see the fonts that Typst has discovered on your
|
/// `typst fonts` to see the fonts that Typst has discovered on your
|
||||||
/// system.
|
/// system.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user