Skip to content

Commit 219e9a3

Browse files
authored
Merge pull request #2015 from kattni/tft-add-font
Include font.
2 parents 080a1c0 + 578e937 commit 219e9a3

File tree

2 files changed

+2940
-2
lines changed

2 files changed

+2940
-2
lines changed

Adafruit_Feather_TFT_ESP32-S2/TFT_GitHub_Stars/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
tile_grid = displayio.TileGrid(bitmap, pixel_shader=bitmap.pixel_shader)
3131
group = displayio.Group()
3232
group.append(tile_grid)
33-
font = bitmap_font.load_font("/fonts/Arial-Bold-24.bdf")
33+
font = bitmap_font.load_font("/fonts/Arial-Bold-36.bdf")
3434
text_area = bitmap_label.Label(font, text="----", color=0xFFFFFF)
35-
text_area.x = 125
35+
text_area.x = 135
3636
text_area.y = 90
3737
group.append(text_area)
3838
display.show(group)

0 commit comments

Comments
 (0)