Encodes a JSON BMFont into a binary Buffer as per the BMFont Spec. Can be used in Node or the browser (e.g. with browserify).
var font =var write =//write the font object to a Buffervar buffer =fs
See text-modules for related modules.
buffer = write(font)
Writes the JSON
font to a new Buffer, encoding the binary data with the BMFont spec.
MIT, see LICENSE.md for details.