Icon fonts in iOS
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 43
- Joined: Tue Apr 08, 2008 9:56 pm
- Location: Purdue University
Icon fonts in iOS
Hi all-- I'm interested in installing iconfonts (such as http://www.flaticon.com/) to use for mobile icons, instead of using images. This would make it much easier to scale and look really sharp. Especially when the icon is only something simple like a chevron.
I have downloaded and installed some icon fonts, but they just print out as letters in livecode. Has anyone had success using icon fonts in LC? I believe MOBgui uses it, so I'm sure it's possible.
Thanks!
I have downloaded and installed some icon fonts, but they just print out as letters in livecode. Has anyone had success using icon fonts in LC? I believe MOBgui uses it, so I'm sure it's possible.
Thanks!
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Icon fonts in iOS
Hi grimaldiface,
You have to include the font in the standalone "Copy Files".
Simon
You have to include the font in the standalone "Copy Files".
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 43
- Joined: Tue Apr 08, 2008 9:56 pm
- Location: Purdue University
Re: Icon fonts in iOS
Simon wrote:Hi grimaldiface,
You have to include the font in the standalone "Copy Files".
Simon
Sorry, I should clarify. I am able to get the custom fonts onto the mobile app through copy files. I do this with other fonts all the time, but for whatever reason icon fonts don't seem to work.
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Icon fonts in iOS
Looking at http://www.flaticon.com/ they aren't fonts at all (unless you converted them).
So, kind'a confused as to what you are looking for. To answer your first question;
Is wingdings everywhere? You can test with them.
Simon
So, kind'a confused as to what you are looking for. To answer your first question;
Yes.Has anyone had success using icon fonts in LC?
Is wingdings everywhere? You can test with them.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 43
- Joined: Tue Apr 08, 2008 9:56 pm
- Location: Purdue University
Re: Icon fonts in iOS
Hmmm, wingdings seem to work.
I found a flaticon.ttf file somewhere. It installed on my computer just fine. Maybe a better question is if someone knows of good mobile icon fonts that work well with LC
I found a flaticon.ttf file somewhere. It installed on my computer just fine. Maybe a better question is if someone knows of good mobile icon fonts that work well with LC
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Icon fonts in iOS
You should be able to take the svg images from http://www.flaticon.com/ and use this http://fontello.com/ to create your own font.
Simon
Edit; Oh yes, they are actually called glyph fonts
Simon
Edit; Oh yes, they are actually called glyph fonts
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 43
- Joined: Tue Apr 08, 2008 9:56 pm
- Location: Purdue University
Re: Icon fonts in iOS
Awesome! thanks, Simon! I'll give that a shot....
-
- Posts: 43
- Joined: Tue Apr 08, 2008 9:56 pm
- Location: Purdue University
Re: Icon fonts in iOS
Got it working. They didn't work originally because the glyphs were mapped to weird unicode codes, to "a,b,c,d, etc." Fontello lets you create your own code mapping so it's much easier to type the glyphs. Thanks!