I'm trying to embed the Open Sans font family (ttf files) into Obj c. I've added them to my info.plist and I'm able to use some of the fonts, but (for instance) the OpenSans-CondLight.ttf font doesn't show up when I check all the fonts embedded. Anyone got a possible explanation for this? There is nothing wrong with the ttf files.
Asked
Active
Viewed 269 times
0
-
Can you show some code? – AdamG Oct 27 '13 at 19:29
-
I don't think there is much code to show. it's embedded in my info.plist as i told. – Warre Buysse Oct 27 '13 at 19:32
-
How are you calling the UIFont in your code? – AdamG Oct 27 '13 at 19:33
1 Answers
2
Yes. Likely the name of the font file is different than the font name itself. I would look for the font name. You can get this by going to the TFF -> Right Clicking -> Get Info -> "Full Name" (See: How do I get the font name from an otf or ttf file?).
-
Great! Will you mark my answer as correct so it stays at the top of the page for others? – AdamG Oct 27 '13 at 19:41
-
1