From 1687af0b16603b7f996fd1e49800ab5b6eda1c02 Mon Sep 17 00:00:00 2001 From: Frank Hoedemakers Date: Mon, 16 Sep 2024 08:06:46 +0200 Subject: [PATCH] Added new more readable font --- CHANGELOG.md | 10 ++++++ font_8x8.h | 97 ++++++++++++++++++++++++++-------------------------- 2 files changed, 58 insertions(+), 49 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c9791c..131690a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,16 @@ Binaries are at the end of this page. # Release notes +## v0.11 + +### Features + +Replaced font in menu system with new more readable font. [@biblioeteca](https://github.com/biblioeteca) + +### Fixes + +- none + ## v0.10 ### Features diff --git a/font_8x8.h b/font_8x8.h index de9ca01..96ba9c7 100644 --- a/font_8x8.h +++ b/font_8x8.h @@ -1,51 +1,50 @@ - static const char font_8x8[] = { - 0x00, 0x18, 0x66, 0x2c, 0x08, 0x42, 0x38, 0x18, 0x30, 0x08, 0x36, 0x00, 0x00, 0x00, 0x00, 0x40, - 0x3c, 0x10, 0x3c, 0x3c, 0x38, 0x7e, 0x3c, 0x7e, 0x3c, 0x3c, 0x00, 0x00, 0x20, 0x00, 0x0c, 0x1c, - 0x3c, 0x70, 0x1e, 0x3c, 0x3e, 0x7c, 0x7c, 0x3c, 0x62, 0x38, 0x70, 0x62, 0x06, 0x3f, 0x3e, 0x3c, - 0x3e, 0x3c, 0x3e, 0x3c, 0x7e, 0x42, 0x62, 0x49, 0x62, 0x62, 0x7e, 0x1c, 0x01, 0x38, 0x08, 0x00, - 0x08, 0x00, 0x02, 0x00, 0x40, 0x00, 0x70, 0x00, 0x02, 0x08, 0x20, 0x02, 0x0c, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x18, 0x0c, 0x00, 0x00, - 0x18, 0x22, 0x7e, 0x3c, 0x25, 0x64, 0x18, 0x18, 0x10, 0x18, 0x10, 0x00, 0x00, 0x00, 0x20, 0x46, - 0x18, 0x62, 0x46, 0x24, 0x06, 0x46, 0x46, 0x62, 0x46, 0x08, 0x10, 0x10, 0x00, 0x18, 0x32, 0x42, - 0x48, 0x22, 0x46, 0x46, 0x04, 0x04, 0x46, 0x62, 0x10, 0x60, 0x62, 0x06, 0x4b, 0x46, 0x46, 0x62, - 0x46, 0x62, 0x62, 0x5a, 0x42, 0x62, 0x49, 0x62, 0x62, 0x46, 0x04, 0x02, 0x20, 0x14, 0x00, 0x10, - 0x00, 0x02, 0x00, 0x40, 0x00, 0x18, 0x00, 0x02, 0x00, 0x00, 0x02, 0x08, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x00, 0x00, 0x18, - 0x22, 0x2c, 0x06, 0x12, 0x24, 0x10, 0x0c, 0x30, 0x7f, 0x10, 0x00, 0x00, 0x00, 0x18, 0x46, 0x1c, - 0x60, 0x40, 0x26, 0x3e, 0x06, 0x20, 0x62, 0x46, 0x00, 0x00, 0x08, 0x7e, 0x30, 0x30, 0x99, 0x44, - 0x22, 0x06, 0x46, 0x04, 0x04, 0x06, 0x62, 0x10, 0x60, 0x32, 0x06, 0x4b, 0x46, 0x46, 0x62, 0x46, - 0x62, 0x06, 0x18, 0x62, 0x62, 0x69, 0x62, 0x62, 0x20, 0x04, 0x04, 0x20, 0x22, 0x00, 0x00, 0x3c, - 0x3e, 0x3c, 0x7c, 0x3c, 0x3c, 0x7c, 0x3e, 0x18, 0x30, 0x66, 0x08, 0x3f, 0x3e, 0x3c, 0x3e, 0x7c, - 0x7a, 0x7c, 0x3c, 0x42, 0x62, 0x49, 0x62, 0x46, 0x7e, 0x18, 0x18, 0x18, 0x06, 0x00, 0x08, 0x00, - 0x24, 0x1c, 0x08, 0x18, 0x00, 0x0c, 0x30, 0x0c, 0x7e, 0x00, 0x7e, 0x00, 0x0c, 0x66, 0x18, 0x38, - 0x38, 0x26, 0x60, 0x3e, 0x10, 0x3c, 0x7c, 0x00, 0x00, 0x0c, 0x00, 0x60, 0x18, 0xa5, 0x46, 0x3e, - 0x06, 0x46, 0x3e, 0x3e, 0x76, 0x7e, 0x18, 0x60, 0x1e, 0x06, 0x4b, 0x46, 0x42, 0x62, 0x46, 0x62, - 0x3c, 0x18, 0x62, 0x22, 0x69, 0x3c, 0x3c, 0x18, 0x04, 0x08, 0x20, 0x00, 0x00, 0x00, 0x40, 0x42, - 0x06, 0x42, 0x62, 0x18, 0x46, 0x46, 0x08, 0x30, 0x36, 0x18, 0x4b, 0x46, 0x46, 0x62, 0x46, 0x06, - 0x06, 0x18, 0x42, 0x62, 0x69, 0x34, 0x46, 0x30, 0x0c, 0x18, 0x30, 0x6b, 0x00, 0x08, 0x00, 0x34, - 0x30, 0x2c, 0xac, 0x00, 0x0c, 0x30, 0x36, 0x08, 0x18, 0x00, 0x00, 0x06, 0x62, 0x18, 0x04, 0x60, - 0x7e, 0x60, 0x62, 0x18, 0x46, 0x60, 0x08, 0x10, 0x18, 0x7e, 0x20, 0x08, 0xa5, 0x7e, 0x62, 0x02, - 0x42, 0x06, 0x06, 0x42, 0x46, 0x18, 0x42, 0x26, 0x02, 0x4b, 0x46, 0x62, 0x3e, 0x62, 0x3e, 0x60, - 0x08, 0x62, 0x12, 0x69, 0x46, 0x18, 0x04, 0x04, 0x10, 0x20, 0x00, 0x00, 0x00, 0x7c, 0x46, 0x06, - 0x62, 0x3e, 0x18, 0x46, 0x46, 0x0c, 0x30, 0x1e, 0x18, 0x4b, 0x46, 0x66, 0x62, 0x46, 0x06, 0x3c, - 0x18, 0x62, 0x22, 0x69, 0x18, 0x46, 0x18, 0x18, 0x18, 0x18, 0x30, 0x00, 0x00, 0x00, 0x7e, 0x1e, - 0x56, 0x46, 0x00, 0x08, 0x18, 0x00, 0x08, 0x18, 0x00, 0x00, 0x03, 0x62, 0x18, 0x06, 0x62, 0x30, - 0x62, 0x62, 0x18, 0x46, 0x62, 0x00, 0x08, 0x30, 0x00, 0x10, 0x00, 0x79, 0x46, 0x62, 0x42, 0x42, - 0x06, 0x06, 0x42, 0x46, 0x18, 0x42, 0x46, 0x02, 0x49, 0x42, 0x62, 0x06, 0x62, 0x46, 0x46, 0x08, - 0x62, 0x0a, 0x69, 0x46, 0x18, 0x62, 0x04, 0x20, 0x20, 0x00, 0x00, 0x00, 0x62, 0x46, 0x02, 0x62, - 0x06, 0x10, 0x7c, 0x46, 0x0c, 0x20, 0x26, 0x18, 0x4b, 0x46, 0x62, 0x62, 0x46, 0x06, 0x60, 0x08, - 0x62, 0x12, 0x69, 0x2c, 0x7c, 0x0c, 0x18, 0x18, 0x18, 0x00, 0x00, 0x08, 0x00, 0x34, 0x08, 0x23, - 0xbc, 0x00, 0x10, 0x0c, 0x00, 0x00, 0x08, 0x00, 0x08, 0x01, 0x3c, 0x7e, 0x7e, 0x3c, 0x30, 0x3c, - 0x3c, 0x18, 0x3c, 0x3c, 0x00, 0x00, 0x60, 0x00, 0x08, 0x08, 0x02, 0x46, 0x3e, 0x3c, 0x3e, 0x7e, - 0x06, 0x3c, 0x46, 0x3c, 0x3c, 0x46, 0x7e, 0x49, 0x42, 0x3c, 0x06, 0x6c, 0x46, 0x3c, 0x1c, 0x7c, - 0x06, 0x7e, 0x46, 0x18, 0x7e, 0x1c, 0x40, 0x38, 0x00, 0x00, 0x00, 0x7c, 0x3e, 0x3c, 0x7c, 0x7c, - 0x0c, 0x60, 0x42, 0x1c, 0x22, 0x46, 0x3c, 0x49, 0x42, 0x3c, 0x3e, 0x7c, 0x02, 0x3e, 0x30, 0x7c, - 0x0e, 0x7e, 0x46, 0x60, 0x7e, 0x30, 0x18, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x0C, 0x36, 0x36, 0x0C, 0x00, 0x1C, 0x06, 0x18, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, + 0x3E, 0x0C, 0x1E, 0x1E, 0x38, 0x3F, 0x1C, 0x3F, 0x1E, 0x1E, 0x00, 0x00, 0x18, 0x00, 0x06, 0x1E, + 0x3E, 0x0C, 0x3F, 0x3C, 0x1F, 0x7F, 0x7F, 0x3C, 0x33, 0x1E, 0x78, 0x67, 0x0F, 0x63, 0x63, 0x1C, + 0x3F, 0x1E, 0x3F, 0x1E, 0x3F, 0x33, 0x33, 0x63, 0x63, 0x33, 0x7F, 0x1E, 0x03, 0x1E, 0x08, 0x00, + 0x0C, 0x00, 0x07, 0x00, 0x38, 0x00, 0x1C, 0x00, 0x07, 0x0C, 0x30, 0x07, 0x0E, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x18, 0x07, 0x6E, 0x00, + 0x1E, 0x36, 0x36, 0x3E, 0x63, 0x36, 0x06, 0x0C, 0x0C, 0x66, 0x0C, 0x00, 0x00, 0x00, 0x30, 0x63, + 0x0E, 0x33, 0x33, 0x3C, 0x03, 0x06, 0x33, 0x33, 0x33, 0x0C, 0x0C, 0x0C, 0x00, 0x0C, 0x33, 0x63, + 0x1E, 0x66, 0x66, 0x36, 0x46, 0x46, 0x66, 0x33, 0x0C, 0x30, 0x66, 0x06, 0x77, 0x67, 0x36, 0x66, + 0x33, 0x66, 0x33, 0x2D, 0x33, 0x33, 0x63, 0x63, 0x33, 0x63, 0x06, 0x06, 0x18, 0x1C, 0x00, 0x0C, + 0x00, 0x06, 0x00, 0x30, 0x00, 0x36, 0x00, 0x06, 0x00, 0x00, 0x06, 0x0C, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x18, 0x0C, 0x3B, 0x00, 0x1E, + 0x36, 0x7F, 0x03, 0x33, 0x1C, 0x03, 0x06, 0x18, 0x3C, 0x0C, 0x00, 0x00, 0x00, 0x18, 0x73, 0x0C, + 0x30, 0x30, 0x36, 0x1F, 0x03, 0x30, 0x33, 0x33, 0x0C, 0x0C, 0x06, 0x3F, 0x18, 0x30, 0x7B, 0x33, + 0x66, 0x03, 0x66, 0x16, 0x16, 0x03, 0x33, 0x0C, 0x30, 0x36, 0x06, 0x7F, 0x6F, 0x63, 0x66, 0x33, + 0x66, 0x07, 0x0C, 0x33, 0x33, 0x63, 0x36, 0x33, 0x31, 0x06, 0x0C, 0x18, 0x36, 0x00, 0x18, 0x1E, + 0x06, 0x1E, 0x30, 0x1E, 0x06, 0x6E, 0x36, 0x0E, 0x30, 0x66, 0x0C, 0x33, 0x1F, 0x1E, 0x3B, 0x6E, + 0x3B, 0x3E, 0x3E, 0x33, 0x33, 0x63, 0x63, 0x33, 0x3F, 0x0C, 0x18, 0x0C, 0x00, 0x00, 0x0C, 0x00, + 0x36, 0x1E, 0x18, 0x6E, 0x00, 0x06, 0x18, 0xFF, 0x3F, 0x00, 0x3F, 0x00, 0x0C, 0x7B, 0x0C, 0x1C, + 0x1C, 0x33, 0x30, 0x1F, 0x18, 0x1E, 0x3E, 0x00, 0x00, 0x03, 0x00, 0x30, 0x18, 0x7B, 0x33, 0x3E, + 0x03, 0x66, 0x1E, 0x1E, 0x03, 0x3F, 0x0C, 0x30, 0x1E, 0x06, 0x7F, 0x7B, 0x63, 0x3E, 0x33, 0x3E, + 0x0E, 0x0C, 0x33, 0x33, 0x6B, 0x1C, 0x1E, 0x18, 0x06, 0x18, 0x18, 0x63, 0x00, 0x00, 0x30, 0x3E, + 0x33, 0x3E, 0x33, 0x0F, 0x33, 0x6E, 0x0C, 0x30, 0x36, 0x0C, 0x7F, 0x33, 0x33, 0x66, 0x33, 0x6E, + 0x03, 0x0C, 0x33, 0x33, 0x6B, 0x36, 0x33, 0x19, 0x07, 0x00, 0x38, 0x00, 0x00, 0x0C, 0x00, 0x7F, + 0x30, 0x0C, 0x3B, 0x00, 0x06, 0x18, 0x3C, 0x0C, 0x00, 0x00, 0x00, 0x06, 0x6F, 0x0C, 0x06, 0x30, + 0x7F, 0x30, 0x33, 0x0C, 0x33, 0x30, 0x00, 0x0C, 0x06, 0x00, 0x18, 0x0C, 0x7B, 0x3F, 0x66, 0x03, + 0x66, 0x16, 0x16, 0x73, 0x33, 0x0C, 0x33, 0x36, 0x46, 0x6B, 0x73, 0x63, 0x06, 0x3B, 0x36, 0x38, + 0x0C, 0x33, 0x33, 0x7F, 0x1C, 0x0C, 0x4C, 0x06, 0x30, 0x18, 0x00, 0x00, 0x00, 0x3E, 0x66, 0x03, + 0x33, 0x3F, 0x06, 0x33, 0x66, 0x0C, 0x30, 0x1E, 0x0C, 0x7F, 0x33, 0x33, 0x66, 0x33, 0x66, 0x1E, + 0x0C, 0x33, 0x33, 0x7F, 0x1C, 0x33, 0x0C, 0x0C, 0x18, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x36, 0x1F, + 0x66, 0x33, 0x00, 0x0C, 0x0C, 0x66, 0x0C, 0x0C, 0x00, 0x0C, 0x03, 0x67, 0x0C, 0x33, 0x33, 0x30, + 0x33, 0x33, 0x0C, 0x33, 0x18, 0x0C, 0x0C, 0x0C, 0x3F, 0x0C, 0x00, 0x03, 0x33, 0x66, 0x66, 0x36, + 0x46, 0x06, 0x66, 0x33, 0x0C, 0x33, 0x66, 0x66, 0x63, 0x63, 0x36, 0x06, 0x1E, 0x66, 0x33, 0x0C, + 0x33, 0x1E, 0x77, 0x36, 0x0C, 0x66, 0x06, 0x60, 0x18, 0x00, 0x00, 0x00, 0x33, 0x66, 0x33, 0x33, + 0x03, 0x06, 0x3E, 0x66, 0x0C, 0x33, 0x36, 0x0C, 0x6B, 0x33, 0x33, 0x3E, 0x3E, 0x06, 0x30, 0x2C, + 0x33, 0x1E, 0x7F, 0x36, 0x3E, 0x26, 0x0C, 0x18, 0x0C, 0x00, 0x00, 0x0C, 0x00, 0x36, 0x0C, 0x63, + 0x6E, 0x00, 0x18, 0x06, 0x00, 0x00, 0x0C, 0x00, 0x0C, 0x01, 0x3E, 0x3F, 0x3F, 0x1E, 0x78, 0x1E, + 0x1E, 0x0C, 0x1E, 0x0E, 0x0C, 0x06, 0x18, 0x00, 0x06, 0x0C, 0x1E, 0x33, 0x3F, 0x3C, 0x1F, 0x7F, + 0x0F, 0x7C, 0x33, 0x1E, 0x1E, 0x67, 0x7F, 0x63, 0x63, 0x1C, 0x0F, 0x38, 0x67, 0x1E, 0x1E, 0x3F, + 0x0C, 0x63, 0x63, 0x1E, 0x7F, 0x1E, 0x40, 0x1E, 0x00, 0x00, 0x00, 0x6E, 0x3B, 0x1E, 0x6E, 0x1E, + 0x0F, 0x30, 0x67, 0x1E, 0x33, 0x67, 0x1E, 0x63, 0x33, 0x1E, 0x06, 0x30, 0x0F, 0x1F, 0x18, 0x6E, + 0x0C, 0x36, 0x63, 0x30, 0x3F, 0x38, 0x18, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x3c, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x3c, 0x00, 0x00, 0x18, 0x00, 0x00, -}; + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x1F, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x78, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, + }; \ No newline at end of file