diff --git a/src/content/docs/zh-cn/reference/errors/cannot-determine-weight-and-style-from-font-file.mdx b/src/content/docs/zh-cn/reference/errors/cannot-determine-weight-and-style-from-font-file.mdx new file mode 100644 index 0000000000000..a633b9e43bbd7 --- /dev/null +++ b/src/content/docs/zh-cn/reference/errors/cannot-determine-weight-and-style-from-font-file.mdx @@ -0,0 +1,12 @@ +--- +title: Cannot determine weight and style from font file. +i18nReady: true +githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts +--- + +> 从本地字体文件中确定字重和样式的时候发生的错误。 + +## 出了什么问题? +无法从字体文件中确定字重和样式,请更新你的字体配置,并手动设置 `weight` 和 `style`。 + +