问题
I'm trying to use Ionicons with Android and NativeScript. I've included the ionicon.ttf file and my set font-family: "Ionicons". It's working on iOS, but not Android.
回答1:
Android registers font names differently than iOS. For Ionicons, the font name is ionicons.ttf, so the correct CSS is font-family: "Ionicons", ionicons.
来源:https://stackoverflow.com/questions/36652253/android-not-showing-font-icon-in-nativescript