@remotion/fonts
@remotion/fonts 包提供了一个 API,用于将 本地字体 或来自 URL 的远程字体加载到 Remotion 组件中。
🌐 The @remotion/fonts package provides an API for loading local fonts or remote fonts from a URL into a Remotion component.
安装
🌐 Installation
- Remotion CLI
- npm
- bun
- pnpm
- yarn
npx remotion add @remotion/fonts
This assumes you are currently using v4.0.431 of Remotion.npm i --save-exact @remotion/fonts@4.0.431
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.This assumes you are currently using v4.0.431 of Remotion.pnpm i @remotion/fonts@4.0.431
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.This assumes you are currently using v4.0.431 of Remotion.bun i @remotion/fonts@4.0.431
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.This assumes you are currently using v4.0.431 of Remotion.yarn --exact add @remotion/fonts@4.0.431
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.应用接口
🌐 APIs
以下 API 可用:
🌐 The following APIs are available: