add iOS icon font support
This commit is contained in:
2
doric-demo/.gitignore
vendored
2
doric-demo/.gitignore
vendored
@@ -1,4 +1,4 @@
|
||||
node_modules/
|
||||
build/
|
||||
bundle/
|
||||
bundle/src
|
||||
package-lock.json
|
BIN
doric-demo/bundle/iconfont.ttf
Normal file
BIN
doric-demo/bundle/iconfont.ttf
Normal file
Binary file not shown.
@@ -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'
|
||||
}),
|
||||
],
|
||||
{
|
||||
|
Reference in New Issue
Block a user