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
Browser Rendering uses a managed Chromium environment that includes a standard set of fonts. When you generate a screenshot or PDF, text is rendered using the fonts available in this environment.
9
+
Browser Rendering uses a managed Chromium environment that includes a standard set of fonts. When you generate a screenshot or PDF, text is rendered using the fonts available in this environment.
9
10
10
-
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, reach out to us on [Cloudflare Discord](https://discord.cloudflare.com/).
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).
11
12
12
-
## 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
13
18
14
19
The following generic CSS font families are supported:
15
20
@@ -19,43 +24,140 @@ The following generic CSS font families are supported:
19
24
-`cursive`
20
25
-`fantasy`
21
26
22
-
## Common system fonts
23
-
24
-
- Andale Mono
25
-
- Arial
26
-
- Arial Black
27
-
- Comic Sans MS
28
-
- Courier
29
-
- Courier New
30
-
- Georgia
31
-
- Helvetica
32
-
- Impact
33
-
- Lucida Handwriting
34
-
- Times
35
-
- Times New Roman
36
-
- Trebuchet MS
37
-
- Verdana
27
+
###Common system fonts
28
+
29
+
- Andale Mono
30
+
- Arial
31
+
- Arial Black
32
+
- Comic Sans MS
33
+
- Courier
34
+
- Courier New
35
+
- Georgia
36
+
- Helvetica
37
+
- Impact
38
+
- Lucida Handwriting
39
+
- Times
40
+
- Times New Roman
41
+
- Trebuchet MS
42
+
- Verdana
38
43
- Webdings
39
44
40
-
## Open source and extended fonts
45
+
###Open source and extended fonts
41
46
42
-
- Bitstream Vera (Serif, Sans, Mono)
43
-
- Cyberbit
44
-
- DejaVu (Serif, Sans, Mono)
45
-
- FreeFont (FreeSerif, FreeSans, FreeMono)
46
-
- GFS Neohellenic
47
-
- Liberation (Serif, Sans, Mono)
48
-
- Open Sans
49
-
- Roboto
47
+
- Bitstream Vera (Serif, Sans, Mono)
48
+
- Cyberbit
49
+
- DejaVu (Serif, Sans, Mono)
50
+
- FreeFont (FreeSerif, FreeSans, FreeMono)
51
+
- GFS Neohellenic
52
+
- Liberation (Serif, Sans, Mono)
53
+
- Open Sans
54
+
- Roboto
50
55
51
-
## International fonts
56
+
###International fonts
52
57
53
58
Browser Rendering includes additional font packages for non-Latin scripts and emoji:
54
59
55
-
- IPAfont Gothic (Japanese)
56
-
- Indic fonts (Devanagari, Bengali, Tamil, and others)
57
-
- KACST fonts (Arabic)
58
-
- Noto CJK (Chinese, Japanese, Korean)
59
-
- Noto Color Emoji
60
-
- TLWG Thai fonts
61
-
- WenQuanYi Zen Hei (Chinese)
60
+
- IPAfont Gothic (Japanese)
61
+
- Indic fonts (Devanagari, Bengali, Tamil, and others)
62
+
- KACST fonts (Arabic)
63
+
- Noto CJK (Chinese, Japanese, Korean)
64
+
- Noto Color Emoji
65
+
- TLWG Thai fonts
66
+
- WenQuanYi Zen Hei (Chinese)
67
+
68
+
## Use your own custom font
69
+
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