Skip to content

Commit 6d411d0

Browse files
remove outdated Typst documentation
we no longer need to document Typst 0.11 behavior, since we ship with 0.13 now
1 parent db57189 commit 6d411d0

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

docs/advanced/typst/brand-yaml.qmd

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ Many of the NA combinations are possible in Typst, but were removed for compatib
4141

4242
### Missing fonts in Typst
4343

44-
When Typst is unable to find the requested font, it will fall back to a default font. In Typst 0.11, shipped with Quarto 1.6, the default font is Linux Libertine; in Typst 0.12, to be shipped with Quarto 1.7, the default is Libertinus Serif.
44+
When Typst is unable to find the requested font, it will fall back to a default font. In Typst 0.13, shipped with Quarto 1.7, the default is Libertinus Serif.
4545

46-
Typst 0.12 will warn `unknown font family` in this case.
46+
Typst will warn `unknown font family` in this case.
4747

48-
To tell Typst to not fall back (and not to display fonts it can't find), you can add
48+
To tell Typst to not fall back (and not to display fonts it can't find), you can add
4949

5050
```typst
5151
#set text(fallback: false)
@@ -59,20 +59,13 @@ Then it tells Typst to use this font directory, in addition to any system fonts
5959

6060
In rare cases, there may be ambiguities about a font's name that will cause Typst not to find the font. To see if a font is available to Typst, run
6161

62-
```sh
63-
quarto typst fonts --font-path .quarto/typst-font-cache 2>&1 | grep *fontname*
64-
```
65-
66-
Unfortunately with Typst 0.11, there is no flag to ignore system fonts, so you'll need to grep for the font name.
67-
68-
69-
With Typst 0.12, you can run
62+
Run
7063

7164
```
7265
quarto typst fonts --ignore-system-fonts --font-path .quarto/typst-font-cache/
7366
```
7467

75-
to list only the fonts downloaded by Quarto. (In either version of Typst, ``--variants`` can be helpful for more detail.)
68+
to list only the fonts downloaded by Quarto. (Adding ``--variants`` can be helpful for more detail.)
7669

7770
If the font is listed but it still isn't working, check for variation in the font name. For example, the Sono font can be downloaded from Google Fonts as Sono, but Typst will only accept Sono Extralight Monospace.
7871

0 commit comments

Comments
 (0)