diff options
| author | yum <yum.food.vr@gmail.com> | 2022-11-07 18:15:29 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2022-11-07 20:13:47 -0800 |
| commit | 564a3abbf4247bd0658b8d4eb8a4881fa274e309 (patch) | |
| tree | fa9c4648c7ca9d839381557b9b1bc3c0de0a3357 /generate.py | |
| parent | d48f8fdd5107344490b90f23dc9141ae1f6f0591 (diff) | |
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.
Diffstat (limited to 'generate.py')
| -rw-r--r-- | generate.py | 2 |
1 files changed, 1 insertions, 1 deletions
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):
|
