pack-bmfonts
v1.0.0
Published
packs multiple BMFont files into a single binary buffer
Maintainers
Readme
pack-bmfonts
Packs multiple BMFont files into a single binary buffer.
pack-bmfonts fonts/*.{xml,fnt} > fonts/packed.binLoads 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 globsAccepts 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.

