You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced/typst/brand-yaml.qmd
+5-12Lines changed: 5 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -41,11 +41,11 @@ Many of the NA combinations are possible in Typst, but were removed for compatib
41
41
42
42
### Missing fonts in Typst
43
43
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.
45
45
46
-
Typst 0.12 will warn `unknown font family` in this case.
46
+
Typst will warn `unknown font family` in this case.
47
47
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
49
49
50
50
```typst
51
51
#set text(fallback: false)
@@ -59,20 +59,13 @@ Then it tells Typst to use this font directory, in addition to any system fonts
59
59
60
60
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
61
61
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
70
63
71
64
```
72
65
quarto typst fonts --ignore-system-fonts --font-path .quarto/typst-font-cache/
73
66
```
74
67
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.)
76
69
77
70
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.
0 commit comments