TiIconicFont
Iconic font charcode wrapping library for Titanium.
Install
- Put the IconicFont.js and icon font JavaScript file on your project
- Download and put .ttf file on Resources/fonts folder
Usage
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
Octicons
Glyphs
Entypo
Typicons
Ligature Symbols
Stroke7
Material
Credits
Font Awesome
Font Awesome 4.1.0 Created by Dave Gandy, SIL Open Font Licence
Octicons
Octicons 2.0.1 Created by GitHub, SIL Open Font Licence
Glyphs
WebHostingHub Glyphs Created by WebHostingHub, SIL Open Font Licence
Entypo
Entypo pictograms 2.0 by Daniel Bruce, SIL Open Font Licence
Typicons
Typicons 2.0.3 Created by Stephen Hutchings, SIL Open Font Licence
Ligature Symbols
Ligature Symbols 2.11 Created by Kazuyuki Motoyama, SIL Open Font Licence
Stroke 7
Stroke 7 1.1.0 by Pixeden, Pixeden Resource Licence
Material
Material Icons Font by Google, CC-BY Creative Commons Public License
License
The MIT License (MIT) Copyright (c) 2014 Kosuke Isobe