add android icon font support

This commit is contained in:
王劲鹏
2020-03-13 14:22:46 +08:00
committed by osborn
parent 4359eec700
commit 73c0a5e7ab
10 changed files with 50 additions and 2 deletions

View File

@@ -45,6 +45,15 @@ class TextDemo extends Panel {
textSize: 30,
fontStyle: "bold_italic"
}),
text({
text: "This is Icon Font text \ue631",
font: 'iconfont/iconfont.ttf'
}),
text({
text: "This is Icon Font text \ue631",
textSize: 30,
font: 'iconfont/iconfont.ttf'
}),
],
{
space: 10,