@anzerr/bdf.util

Util to parse BDF font format files

Usage no npm install needed!

<script type="module">
  import anzerrBdfUtil from 'https://cdn.skypack.dev/@anzerr/bdf.util';
</script>

README

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);
});