add iOS icon font support

This commit is contained in:
王劲鹏
2020-03-13 15:00:42 +08:00
committed by osborn
parent 73c0a5e7ab
commit 49854cc825
6 changed files with 15 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
node_modules/
build/
bundle/
bundle/src
package-lock.json

Binary file not shown.

View File

@@ -47,12 +47,12 @@ class TextDemo extends Panel {
}),
text({
text: "This is Icon Font text \ue631",
font: 'iconfont/iconfont.ttf'
font: 'iconfont'
}),
text({
text: "This is Icon Font text \ue631",
textSize: 30,
font: 'iconfont/iconfont.ttf'
font: 'iconfont'
}),
],
{