Skip to main content

@remotion/fonts

@remotion/fonts 包提供了一个 API,用于将本地字体或来自 URL 的远程字体加载到 Remotion 组件中。

安装

npm i --save-exact @remotion/fonts@4.0.206
npm i --save-exact @remotion/fonts@4.0.206
This assumes you are currently using v4.0.206 of Remotion.
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 可用: