display unknown symbols as spaces

old behaviour: unknown symbols are ignored
new behaviour: unknown symbols are not displayed but can be used for formatting
This commit is contained in:
Peter Nerlich 2020-11-12 10:02:34 +01:00 committed by GitHub
parent 021c521c65
commit 45aa9c4a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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