开发者

Producing bigger pages with a font editor for Cocos2d

开发者 https://www.devze.com 2023-04-11 06:22 出处:网络
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

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

精彩评论

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

关注公众号