add note about woff2

This commit is contained in:
Jason
2023-06-10 04:52:25 -04:00
committed by GitHub
parent 7d6cbf96c2
commit 377f3024aa

View File

@@ -78,7 +78,7 @@ Satori supports only a subset of HTML and CSS. For full details, see [Satoris
## Fonts ## Fonts
Satori supports `ttf`, `otf`, and `woff` font formats. To maximize the font parsing speed, `ttf` or `otf` are recommended over `woff`. Satori supports `ttf`, `otf`, and `woff` font formats; `woff2` is not supported. To maximize the font parsing speed, `ttf` or `otf` are recommended over `woff`.
By default, `@ethercorps/sveltekit-og` includes only 'Noto Sans' font. If you need to use other fonts, you can specify them as shown in the example. Notably, you can also import a font file that is stored locally within your project and are not required to use fetch. By default, `@ethercorps/sveltekit-og` includes only 'Noto Sans' font. If you need to use other fonts, you can specify them as shown in the example. Notably, you can also import a font file that is stored locally within your project and are not required to use fetch.