1.0.0 • Published 9 years ago
pack-bmfonts v1.0.0
pack-bmfonts
Packs multiple BMFont files into a single binary buffer.
pack-bmfonts fonts/*.{xml,fnt} > fonts/packed.bin
Loads ASCII (text), XML, binary, and JSON. Accepts multiple globs as entries. See the spec for binary details, or unpack-bmfonts to extract the data.
See Also
See text-modules for related modules.
Usage
CLI
Usage:
pack-bmfonts globs
Accepts a glob or a list of globs, prints the packed binary to stdout.
API
buffer = pack(fonts)
Packs the array of fonts
(JSON objects) into a single Buffer.
License
MIT, see LICENSE.md for details.
1.0.0
9 years ago