Page 1 of 1

Can't use fonts from font-family

Posted: Mon Feb 24, 2014 3:06 pm
by ChrisMukrow
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.

Re: Can't use fonts from font-family

Posted: Tue Feb 25, 2014 3:59 am
by Simon
Are you copying them all in the Copy File of the standalone builder?

Simon

Re: Can't use fonts from font-family

Posted: Tue Feb 25, 2014 9:46 am
by ChrisMukrow
Yes, seperate and mapped.

Re: Can't use fonts from font-family

Posted: Tue Feb 25, 2014 10:48 am
by Simon
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.

Re: Can't use fonts from font-family

Posted: Tue Feb 25, 2014 1:29 pm
by ChrisMukrow
Thanks Simon, it works now!