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: README.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -317,6 +317,11 @@ await satori(
317
317
318
318
Multiple fonts can be passed to Satori and used in `fontFamily`.
319
319
320
+
> [!TIP]
321
+
> We recommend you define global fonts instead of creating a new object and pass it to satori for better performace, if your fonts do not change. [Read it for more detail](https://github.com/vercel/satori/issues/590)
322
+
323
+
324
+
320
325
#### Emojis
321
326
322
327
To render custom images for specific graphemes, you can use `graphemeImages` option to map the grapheme to an image source:
0 commit comments