Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

<Error>: FT_Open_Face failed: error 85

I am trying to install a custom font into my iPhone application. When I add the 'Fonts provided by application’ key into my info.plist file I get the following error ': FT_Open_Face failed: error 85.’

I am not sure what the problem is as I have successfully been able to use custom fonts in the past.

Any help will be appreciated.

like image 835
Adam H Avatar asked Jun 01 '11 15:06

Adam H


2 Answers

If you leave the first element in your font array in the plist (index 0) blank, you will get this error.

like image 55
Mike Avatar answered Oct 17 '22 05:10

Mike


PostScript fonts cannot be used with UIFont directly. You can use them only with CoreText or CATextLayer.

like image 29
Mugunth Avatar answered Oct 17 '22 05:10

Mugunth