From c4adef4d12c1fb603923ecc211ba107890c3cc7d Mon Sep 17 00:00:00 2001 From: Hamcha Date: Wed, 8 May 2024 11:01:32 +0200 Subject: [PATCH] build note --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 11ad9d4..b5a1088 100644 --- a/README.md +++ b/README.md @@ -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