bdfjs
v0.0.8
Published
Simple library for reading Adobe Glyph Bitmap Distribution font Data
Downloads
167
Readme
bdfjs
Simple library for reading Adobe Glyph Bitmap Distribution font data.
Read more about this format on Wikipedia.
Install
npm install bdfjs
How to use
var fs = require('fs');
var font = BDF.parse(fs.readFileSync('c64.bfd'));
var bitmap = BDF.draw(font, 'hello');
console.log(bitmap);