Skip to content

Commit 85f9be8

Browse files
committed
docs: add best practice for fonts persistence
1 parent c55e4da commit 85f9be8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,12 @@ await satori(
315315
)
316316
```
317317

318-
Multiple fonts can be passed to Satori and used in `fontFamily`.
318+
Multiple fonts can be passed to Satori and used in
319+
320+
> [!TIP]
321+
> We recommend you define global fonts instead of creating a new object and pass it to satori for better performace. [Read it for more detail](https://github.com/vercel/satori/issues/590)
322+
323+
`fontFamily`.
319324

320325
#### Emojis
321326

0 commit comments

Comments
 (0)