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.
Asked
Active
Viewed 844 times
2

Burke Holland
- 2,325
- 1
- 22
- 33
1 Answers
5
Android registers font names differently than iOS. For Ionicons, the font name is ionicons.ttf
, so the correct CSS is font-family: "Ionicons", ionicons
.

Burke Holland
- 2,325
- 1
- 22
- 33
-
Do you have to get another .ttf to put in the app/fonts folder? – Ka Mok Aug 15 '18 at 20:56