Embedding ttf fonts doesn't work perfectly Obj C

284 Views Asked by At

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.

1

There are 1 best solutions below

2
On BEST ANSWER

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?).