Skip to content

Commit 7efdc30

Browse files
authored
Update supported-fonts.mdx
wording and header level changes
1 parent eeca61e commit 7efdc30

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/content/docs/browser-rendering/reference/supported-fonts.mdx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ Browser Rendering uses a managed Chromium environment that includes a standard s
1010

1111
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).
1212

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
1418

1519
The following generic CSS font families are supported:
1620

@@ -20,7 +24,7 @@ The following generic CSS font families are supported:
2024
- `cursive`
2125
- `fantasy`
2226

23-
## Common system fonts
27+
### Common system fonts
2428

2529
- Andale Mono
2630
- Arial
@@ -38,7 +42,7 @@ The following generic CSS font families are supported:
3842
- Verdana
3943
- Webdings
4044

41-
## Open source and extended fonts
45+
### Open source and extended fonts
4246

4347
- Bitstream Vera (Serif, Sans, Mono)
4448
- Cyberbit
@@ -49,7 +53,7 @@ The following generic CSS font families are supported:
4953
- Open Sans
5054
- Roboto
5155

52-
## International fonts
56+
### International fonts
5357

5458
Browser Rendering includes additional font packages for non-Latin scripts and emoji:
5559

@@ -63,7 +67,7 @@ Browser Rendering includes additional font packages for non-Latin scripts and em
6367

6468
## Use your own custom font
6569

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.
6771

6872
<Tabs> <TabItem label="JavaScript" icon="seti:javascript">
6973
With a CDN source:

0 commit comments

Comments
 (0)