From 564a3abbf4247bd0658b8d4eb8a4881fa274e309 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 7 Nov 2022 18:15:29 -0800 Subject: Fix font clipping bug When fonts completely fill a slot, any pixel touching a perimeter border gets stretched due to clamping. To avoid this, add a 2% margin around each slot. --- generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generate.py') diff --git a/generate.py b/generate.py index 2c073bd..2442dc7 100644 --- a/generate.py +++ b/generate.py @@ -16,7 +16,7 @@ state.encoding = osc_ctrl.generateEncoding() osc_ctrl.clear(client) -i = 0xC000 +i = 0x3400 line = "" while True: for j in range(0, 256): -- cgit v1.2.3