Skip to content

Commit ab283a4

Browse files
brentrubrentru
authored andcommitted
add / and space to glyph string
1 parent 78f9f0c commit ab283a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PyPortal_Smart_Thermometer/thermometer_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# Fonts within /fonts folder
1313
info_font = cwd+"/fonts/Nunito-Black-17.bdf"
1414
temperature_font = cwd+"/fonts/Nunito-Light-75.bdf"
15-
glyphs = b'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-,.:'
1615

1716
class Thermometer_GFX(displayio.Group):
1817
def __init__(self, celsius=True, usa_date=True):
@@ -42,6 +41,7 @@ def __init__(self, celsius=True, usa_date=True):
4241
self.set_icon(self._cwd+"/icons/pyportal_splash.bmp")
4342

4443
print('loading fonts...')
44+
glyphs = b'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-,.:/ '
4545
self.info_font = bitmap_font.load_font(info_font)
4646
self.info_font.load_glyphs(glyphs)
4747

0 commit comments

Comments
 (0)