You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by zs...@apache.org on 2019/06/20 07:50:50 UTC
[incubator-weex-site] 01/01: android 不支持 woff字体
This is an automated email from the ASF dual-hosted git repository.
zshshr pushed a commit to branch zshshr-patch-2
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git
commit 999c3df7440580a504a02fe616ffb7d9651691d9
Author: zshshr <zh...@gmail.com>
AuthorDate: Thu Jun 20 15:50:45 2019 +0800
android 不支持 woff字体
---
docs/zh/docs/components/text.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/zh/docs/components/text.md b/docs/zh/docs/components/text.md
index ab7086e..55503d3 100644
--- a/docs/zh/docs/components/text.md
+++ b/docs/zh/docs/components/text.md
@@ -56,7 +56,7 @@
### 自定义字体 <Badge text="v0.12+" type="warning"/>
-文本组件支持 `ttf` 和 `woff` 字体格式的自定义字体。
+文本组件支持 `ttf` 字体格式的自定义字体。
1. 使用唯一的 `font-family` 名字创建字体文件。
2. 使用 Dom 模块的 [addRule](../modules/dom.html#addrule-type-contentobject) 方法注册字体。
3. 在文本中使用 `font-family:YourFontFamilyName` 样式指定字体。
@@ -84,4 +84,4 @@ word-break 行为是不可预测的且与 Android ROM 强相关。事实上,wo
## 示例
* [`<text>`的基本用法](http://dotwe.org/vue/7d2bf6e112ea26984fd5930663f092e0)
-
\ No newline at end of file
+