build note

This commit is contained in:
Hamcha 2024-05-08 11:01:32 +02:00
parent 073b4cba41
commit c4adef4d12
Signed by: hamcha
GPG key ID: 1669C533B8CF6D89

View file

@ -1,9 +1,17 @@
# Absolutely Worthless Binfon
Takes all your precious fonts and puts them in the BIN!
Takes all your precious fonts and puts them in BINs!
Allows embedding of bitmap fonts into easily embeddable binary blobs.
## Building
`zig build` builds two targets:
- `binfon` is the actual executable that runs the bdf to bin transformation (see Usage below)
- `binfon-viewer` takes a .bin and prints its glyphs to console
## Usage
The inputs must be a .bdf file and a .json configuration file. The JSON configuration file must be formatted as follows:
```json