Custom fonts on iOS app - working in Simulator but not iPad

前端 未结 8 1195
故里飘歌
故里飘歌 2021-02-08 07:11

Encountering a weird problem here. I\'m developing a game for my school project (non-commercial), and I\'m using a custom font Black Chancery (free under GNU GPL). I followed th

相关标签:
8条回答
  • 2021-02-08 08:13

    Also check that your fonts are not zero bytes. I had this same issue and it turned out that my font files had emptied themselves at some stage. Probably when rearranging them in XCode and AppCode.

    0 讨论(0)
  • 2021-02-08 08:13

    I have the same issue on Xcode 6. My file name was My Font.ttf, it doesn't work. I manage to make it works when I rename it to My Font.TTF, just change the file extension to uppercase.

    0 讨论(0)
提交回复
热议问题