I want to use a custom font in my iPhone app. After doing some research I found that you can add a custom font to your package. So I copied the font, which is digreadout2.ttf
to my app folder and added a key in the .plist file. using the exact filename including the extension.
I then create the UIFont
object and assign it to the font property of my UILabel
. Now the problem is that when I run my app it gives me an error saying <Error>: FT_Open_Face failed: error 2.
If anyone has any suggestions of what I can try it will be very helpful.