From 45aa9c4a67891dff5b2b1255fcf84603f360c4e9 Mon Sep 17 00:00:00 2001 From: Peter Nerlich Date: Thu, 12 Nov 2020 10:02:34 +0100 Subject: [PATCH] display unknown symbols as spaces old behaviour: unknown symbols are ignored new behaviour: unknown symbols are not displayed but can be used for formatting --- lcd.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lcd.lua b/lcd.lua index 37ce3e0..f82bca0 100644 --- a/lcd.lua +++ b/lcd.lua @@ -73,6 +73,9 @@ local generate_line = function(s, ypos) i = i + 2 else print("[digilines] W: LCD: unknown symbol in '"..s.."' at "..i) + if charmap[" "] ~= nil then + file = charmap[" "] + end i = i + 1 end if file ~= nil then