开发者

How to use FUTURA-Bold font in my iPhone app

开发者 https://www.devze.com 2023-02-17 01:10 出处:网络
I am trying to use FUTURA-BOld in my app but its not working as it should be. I installed the font in my system, copied the font in my code resource. Edited the info.plist with the font name. And choo

I am trying to use FUTURA-BOld in my app but its not working as it should be. I installed the font in my system, copied the font in my code resource. Edited the info.plist with the font name. And choosing the same font but it is just givin开发者_StackOverflow中文版g me simple font.

Any idea ???

Thanks,


1) Have you made the plist entry UIAppFonts of type array, putting your (ttf) filename as a member value?

2) Are you using the actual internal font name? This may differ from the ttf filename. Use

NSLog(@"fonts: %@",[UIFont familyNames]);

to get a list of fonts. Lookup your font and use that name exactly.

0

精彩评论

暂无评论...
验证码 换一张
取 消