feat: add Char Test screen and extend Lemon font to Greek/Cyrillic

- Add CharTestScreen showing sample characters from 11 scripts
  (PL, DE, CS, FR, NO, HU, HR, TR, LT, Cyrillic, Greek) as raw
  UTF-8 to verify native font rendering without transliteration
- Add "Char Test" entry to ToolsScreen menu
- Regenerate LemonFont.h from lemon.bdf with full U+0020–U+04FF
  range: 1074 BDF glyphs + 174 placeholders, 4111 bitmap bytes;
  adds Greek (137 glyphs) and Cyrillic (256 glyphs) coverage;
  also fixes space advance (DWIDTH=5, was BBX+1=1)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-17 23:34:44 +02:00
co-authored by Claude Sonnet 4.6
parent dbda484f2b
commit 50eb58c276
5 changed files with 1516 additions and 358 deletions
@@ -6,7 +6,7 @@ class ToolsScreen : public UIScreen {
UITask* _task;
int _sel;
static const int ITEM_COUNT = 4;
static const int ITEM_COUNT = 5;
static const char* ITEMS[ITEM_COUNT];
public:
@@ -46,8 +46,9 @@ public:
if (_sel == 1) { _task->gotoBotScreen(); return true; }
if (_sel == 2) { _task->gotoNearbyScreen(); return true; }
if (_sel == 3) { _task->gotoAutoAdvertScreen(); return true; }
if (_sel == 4) { _task->gotoCharTestScreen(); return true; }
}
return false;
}
};
const char* ToolsScreen::ITEMS[4] = { "Ringtone Editor", "Auto-Reply Bot", "Nearby Nodes", "Auto-Advert" };
const char* ToolsScreen::ITEMS[5] = { "Ringtone Editor", "Auto-Reply Bot", "Nearby Nodes", "Auto-Advert", "Char Test" };