Skip to content

Iconic font wrapper for Titanium Mobile.

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt
Notifications You must be signed in to change notification settings

keenjoe007/TiIconicFont

 
 

Repository files navigation

#TiIconicFont

##What is this Iconic font charcode wrapping library for Titanium Mobile.

##How to use https://wiki.appcelerator.org/display/guides/Custom+Fonts

  • Font Awesome

  • Ligature Symbols

  • SS Pika

  • Resources/app.js

    var window = Ti.UI.createWindow();

    var fontawesome = require('lib/IconicFont').IconicFont({ font: 'lib/FontAwesome', ligature: false // optional, for ligature }); var fontawesomeLabel = Ti.UI.createLabel({ font: { fontFamily: fontawesome.fontfamily() }, text: fontawesome.icon('icon-github') // or text: fontawesome.icon([ 'icon-github', 'icon-facebook', 'icon-twitter' ]).join('') }); window.add(fontawesomeLabel);

    var ligaturesymbols = require('lib/IconicFont').IconicFont({ font: 'lib/LigatureSymbols', ligature: false // optional, for ligature }); var ligaturesymbolsLabel = Ti.UI.createLabel({ font: { fontFamily: ligaturesymbols.fontfamily() }, text: ligaturesymbols.icon('twitter') // or text: ligaturesymbols.icon([ 'github', 'facebook', 'twitter' ]).join('') }); window.add(ligaturesymbolsLabel);

    var sspika = require('lib/IconicFont').IconicFont({ font: 'lib/ti.ss-pika', ligature: true // optional, for ligature });

    window.open();

##Credits

Font Awesome

http://fortawesome.github.com/Font-Awesome

Ligature Symbols

http://kudakurage.com/ligature_symbols/

You can get Ligature Symbols for free. This Font is licensed under the SIL Open Font License for download and using. Ligature Symbols has broad support for the modern browser (Chrome, Safari, Firefox, iOS - Mobile Safari, Android Browser).

About

Iconic font wrapper for Titanium Mobile.

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published