Skip to content

anzerr/bdf.util

Repository files navigation

Intro

GitHub Actions status | publish

Util to parse BDF font format files ready to be used to draw.

Example of a font being drawn using its bitmap an example can be found in test

Install

npm install --save git+https://git@github.com/anzerr/bdf.util.git

Example

const {parse, bitmap} = require('bdf.util');

parse('./test/cherry-10-b.bdf').then((res) => {
	console.log(res);
});

bitmap('./test/cherry-10-b.bdf').then((res) => {
	console.log(res);
});