From 073b4cba418c29018b4ceff7ed8debebdf469d4f Mon Sep 17 00:00:00 2001 From: Hamcha Date: Wed, 8 May 2024 10:35:19 +0200 Subject: [PATCH] math! --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c17222f..11ad9d4 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ The inputs must be a .bdf file and a .json configuration file. The JSON configur } ``` -The output bin will contain all the glyphs in the order they are specified in the configuration without any gaps. Everything is packed using byte padding (exactly as in the BDF input file). Eg. if your font is 8x3, every character will be 3 bytes (1 byte x 3 rows), if your font is 10x8, every character will be 16 bytes (2 bytes x 10 rows). +The output bin will contain all the glyphs in the order they are specified in the configuration without any gaps. Everything is packed using byte padding (exactly as in the BDF input file). Eg. if your font is 8x3, every character will be 3 bytes (1 byte x 3 rows), if your font is 10x8, every character will be 16 bytes (2 bytes x 8 rows). The formula to seek to a specific char should be roughly: ```rust