satori 0.11.1 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.wasm.cjs +4 -4
- package/dist/index.wasm.cjs.map +1 -1
- package/dist/index.wasm.js +4 -4
- package/dist/index.wasm.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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:
|