Update dom.md

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/672ef3b0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/672ef3b0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/672ef3b0

Branch: refs/heads/master
Commit: 672ef3b068c3f7b169a87161c5c9001782049db7
Parents: 2d58009
Author: wqyfavor <[email protected]>
Authored: Mon Jul 2 19:20:51 2018 +0800
Committer: GitHub <[email protected]>
Committed: Mon Jul 2 19:20:51 2018 +0800

----------------------------------------------------------------------
 source/cn/references/modules/dom.md | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/672ef3b0/source/cn/references/modules/dom.md
----------------------------------------------------------------------
diff --git a/source/cn/references/modules/dom.md 
b/source/cn/references/modules/dom.md
index 977d7cb..bb910a5 100644
--- a/source/cn/references/modules/dom.md
+++ b/source/cn/references/modules/dom.md
@@ -76,6 +76,12 @@ domModule.addRule('fontFace', {
 })
 ```
 
+**注意事项**
+
+`addRule` 方法里的 `fontFamily` 
可以随意取。这个名字不是字体真正的名字。字体真正的名字(font-family),也就是注册到系统中的名字是保存在字体二进制文件中的。ä½
 éœ€è¦ç¡®ä¿ä½ 
使用的字体的真正名字(font-family)足够特殊,否则在向系统注册时可能发生冲突,导致注册失败,ä½
 çš„字符被显示为‘?’。
+
+如果你使用 http://www.iconfont.cn/ 来构建你的 
iconfont。确保在项目设置中,设置一个特殊的 font-family 
名字。默认是 “iconfont”,但极大可能发生冲突。
+
 #### 示例
 
 [add rule fontface](http://dotwe.org/vue/95b2c6716f37066d5f44c5c75c979394)

Reply via email to