sprite-extend-bmFont
SpriteJS bmGlyph BitmapFont extend.
How to use
Use bmGlyph to publish BitMap font.
Choose publish format cocos2d/BMFont.
Use tools/generate.js
to generate bmfont file for SpriteJS
node tools/generate.js fonts/testsprite.fnt
Arguments of generate.js
** build for weixin **
node generate.js fonts/testsprite.fnt --weixin
Copy testsprite.png to /assets/img/testsprite.png
** build with online texture **
node generate.js fonts/testsprite.fnt --src=https://p4.ssl.qhimg.com/t016ec624e084e49c16.png
** build with preload resource id **
node generate.js fonts/testsprite.fnt --id=testsprite.png