次の方法で共有


BMFontGen update (1119)

I had a request to add an option to expand each glyph with padding pixels, and I'm finally getting around to doing it.

To add n pixels of padding around each glyph, you can now use the glyph pad option: -gpad n. If you only want padding in the x or y direction, then you can use -gpadx or -gpady. Adding padding will not affect how the font is displayed, except that additional transparent "padding" pixels will be copied.

In general, you don't need to use these options, but they can be useful if you intend to manipulate the font bitmap in such a way that the glyphs expand in size. If you do not intend to edit the font bitmap, then you don't need to use these options.

bmfontgen (1119).zip

Comments