Implement glyph search

This commit is contained in:
2024-03-03 19:33:19 +01:00
parent 43ea03b175
commit 2b9505b7b3
2 changed files with 24 additions and 2 deletions

View File

@@ -87,6 +87,7 @@ class EditorCanvas(tkinter.Canvas):
if not self.project.does_char_exist(self.current_char):
for x in range(len(self.current_char_pixels)):
self.current_char_pixels[x]=0
self.draw()
return
base64_data=self.project.chars[chr(self.current_char)]
pixels=base64.b64decode(base64_data.encode("ascii"))