Iconic font charcode wrapping library for Titanium.
- Put the IconicFont.js and icon font JavaScript file on your project
- Download and put .ttf file on Resources/fonts folder
You can see example at Resources/app.js. If you want to use in Alloy Ti.UX.Templates. This project is very usefull.
var IconicFont = require('/lib/IconicFont'),
iconicFont = new IconicFont({
font: '/lib/FontAwesome'
});
var label = Ti.UI.createLabel({
font: {
fontFamily: iconicFont.fontfamily
},
text: iconicFont.icon('icon name here')
});
Font Awesome 4.1.0 Created by Dave Gandy, SIL Open Font Licence
Octicons 2.0.1 Created by GitHub, SIL Open Font Licence
WebHostingHub Glyphs Created by WebHostingHub, SIL Open Font Licence
Entypo pictograms 2.0 by Daniel Bruce, SIL Open Font Licence
Typicons 2.0.3 Created by Stephen Hutchings, SIL Open Font Licence
Ligature Symbols 2.11 Created by Kazuyuki Motoyama, SIL Open Font Licence
Stroke 7 1.1.0 by Pixeden, Pixeden Resource Licence
Material Icons Font by Google, CC-BY Creative Commons Public License
The MIT License (MIT) Copyright (c) 2014 Kosuke Isobe