https://github.com/anzerr/bdf.util
Util to parse BDF font format files
https://github.com/anzerr/bdf.util
bdf bitmap font nodejs text util
Last synced: about 2 months ago
JSON representation
Util to parse BDF font format files
- Host: GitHub
- URL: https://github.com/anzerr/bdf.util
- Owner: anzerr
- License: mit
- Created: 2019-08-02T13:26:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T16:20:31.000Z (over 4 years ago)
- Last Synced: 2025-10-23T21:53:22.419Z (8 months ago)
- Topics: bdf, bitmap, font, nodejs, text, util
- Language: JavaScript
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### `Intro`

Util to parse [BDF](https://en.wikipedia.org/wiki/Glyph_Bitmap_Distribution_Format) 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`
``` bash
npm install --save git+https://git@github.com/anzerr/bdf.util.git
```
#### `Example`
``` javascript
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);
});
```