Custom font in a Cocoa application

前端 未结 4 1110
渐次进展
渐次进展 2020-12-08 01:23

I know you can customize fonts by using Interface Builder and selecting a font. However, I\'m curious if I can use a custom font that\'s not included by default on systems.

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 01:50

    I have managed to do this using cocos2d (CCLabelBMFont) and hiero tool. You will need to create the font using the hiero, and give this font to the CCLabelBMFont object.

提交回复
热议问题