Using icon fonts (like FontAwesome) in Titanium Mobile apps

You must Login before you can answer or comment on any questions.

I would like to use an icon-font like FontAwesome (http://fortawesome.github.com/Font-Awesome/) on my Titanium Mobile iOS app's buttons. I think this should be possible, but cannot figure out how. Any ideas?

4 Answers

The actual icons are css based and are not images, so those would have to be turned into images in order to actually use the icons. As for the actual font, you can use custom fonts in a Titanium app, but you can't use those fonts on things like tab text. If you wanted to do that you'd have to create a custom tabgroup so you could use those fonts.

— answered 9 months ago by Anthony Decena
answer permalink
1 Comment
  • Just to clarify, font awesome is not css based. It's an actual font. All the CSS file is doing is telling the class 'icon-<whatever>' to show the content if a specific character, which when combined with the fontawesome.ttf font, shows a symbol. They arent 'created' by CSS in any way shape or form.

    — commented 5 weeks ago by Rick Mills

There is a Appcelerator module doing just that - https://marketplace.appcelerator.com/apps/4361?2069729160

Your Answer

Think you can help? Login to answer this question!