开发者

Producing bigger pages with a font editor for Cocos2d

I use Hiero, java version, because I want to create fonts for CCLabelBMFont.

However, due to my game being on retina display, my font images are big, and they require more than one page. Cocos2d only supports one.

So, essentially, how can I produce bigger pages (canvases开发者_如何学编程)? I don't think Hiero has that feature.


Click on Glyph cache radio button. Then adjust Page width and Page height until it says Pages: 1. Then change the font size to the size you want. Re-adjust page width/height if the new font size increases the number of pages.

Producing bigger pages with a font editor for Cocos2d

p/s: Make sure you adjust page width/height before increasing the size. Hiero will freak out if you suddenly change to a large size without changing the page width/height, and stop displaying the sample rendering. If that happens, you have to close and restart Hiero.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜