Add Custom Fonts In Xcode 4.1

前端 未结 4 1571
礼貌的吻别
礼貌的吻别 2021-02-04 05:44

i want to use custom fonts in y application.

i have declared the \"Fonts provided by the application\" in the info.Plist file

and set the label.font to the font

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-04 06:16

    The above advice did not work for me, so I wanted to share what did:

    Opening the font in Finder gave a long name that did not work (TypeWrong Smudged - DGL), but when I looked for the same font in the Photoshop font list it showed the name as just TypeWrong, which did work. So if Finder shows a long name with spaces in it, you might want to try just using the first space-free chunk.

提交回复
热议问题