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: src/content/docs/browser-rendering/reference/supported-fonts.mdx
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,11 @@ Browser Rendering uses a managed Chromium environment that includes a standard s
10
10
11
11
If your webpage specifies a font that is not supported yet, Chromium will automatically fall back to a similar supported font. If you would like to use a font that is not currently supported, you can [add a custom font](/browser-rendering/reference/supported-fonts/#use-your-own-custom-font).
12
12
13
-
## Generic CSS font family support
13
+
## Pre-installed fonts
14
+
15
+
The following sections list the fonts available in the Browser Rendering environment.
16
+
17
+
### Generic CSS font family support
14
18
15
19
The following generic CSS font families are supported:
16
20
@@ -20,7 +24,7 @@ The following generic CSS font families are supported:
20
24
-`cursive`
21
25
-`fantasy`
22
26
23
-
## Common system fonts
27
+
###Common system fonts
24
28
25
29
- Andale Mono
26
30
- Arial
@@ -38,7 +42,7 @@ The following generic CSS font families are supported:
38
42
- Verdana
39
43
- Webdings
40
44
41
-
## Open source and extended fonts
45
+
###Open source and extended fonts
42
46
43
47
- Bitstream Vera (Serif, Sans, Mono)
44
48
- Cyberbit
@@ -49,7 +53,7 @@ The following generic CSS font families are supported:
49
53
- Open Sans
50
54
- Roboto
51
55
52
-
## International fonts
56
+
###International fonts
53
57
54
58
Browser Rendering includes additional font packages for non-Latin scripts and emoji:
55
59
@@ -63,7 +67,7 @@ Browser Rendering includes additional font packages for non-Latin scripts and em
63
67
64
68
## Use your own custom font
65
69
66
-
If your font is not supported, you can use your own custom font. If you own the font, load it on your website. If you do not own it, add the font using `addStyleTag`:
70
+
If a required font is not pre-installed, you can inject it into the page at render time using `addStyleTag`. This allows you to load fonts from an external URL or embed them directly as a Base64 string.
0 commit comments