0.0.8 • Published 8 years ago
bdfjs v0.0.8
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);