Can't use fonts from font-family

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ChrisMukrow
Posts: 73
Joined: Mon Nov 12, 2012 4:13 pm

Can't use fonts from font-family

Post by ChrisMukrow » Mon Feb 24, 2014 3:06 pm

When using this font-family Source Sans Pro: http://blogs.adobe.com/typblography/201 ... s-pro.html I only can use one, not all. Which is pretty strange, because in the IDE I can select them all, but not in the simulator.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Can't use fonts from font-family

Post by Simon » Tue Feb 25, 2014 3:59 am

Are you copying them all in the Copy File of the standalone builder?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

ChrisMukrow
Posts: 73
Joined: Mon Nov 12, 2012 4:13 pm

Re: Can't use fonts from font-family

Post by ChrisMukrow » Tue Feb 25, 2014 9:46 am

Yes, seperate and mapped.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Can't use fonts from font-family

Post by Simon » Tue Feb 25, 2014 10:48 am

Got it.
fontNames only shows the top level font name
To use the others (probably some really cool typographical term for them) use
SourceSansPro-Light
SourceSansPro-It
SourceSansPro-Bold
etc

The names you see in the file names. (errr... using Finder)

Simon
Haven't a clue what "mapped" means in iOS.. just in the Copy Files works.
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

ChrisMukrow
Posts: 73
Joined: Mon Nov 12, 2012 4:13 pm

Re: Can't use fonts from font-family

Post by ChrisMukrow » Tue Feb 25, 2014 1:29 pm

Thanks Simon, it works now!

Post Reply