Merge pull request #588 from jedgarpark/pyportal-astronauts-tweaks
tweaks to text position, bg brightness
This commit is contained in:
commit
00ecb0c3ad
2 changed files with 2 additions and 2 deletions
|
|
@ -23,13 +23,13 @@ pyportal = PyPortal(url=DATA_SOURCE,
|
|||
status_neopixel=board.NEOPIXEL,
|
||||
default_bg=cwd+"/astronauts_background.bmp",
|
||||
text_font=cwd+"/fonts/Helvetica-Bold-100.bdf",
|
||||
text_position=((180, 70), None),
|
||||
text_position=((225, 50), None),
|
||||
text_color=(0xFFFFFF, None))
|
||||
|
||||
names_font = bitmap_font.load_font(cwd+"/fonts/Helvetica-Bold-16.bdf")
|
||||
# pre-load glyphs for fast printing
|
||||
names_font.load_glyphs(b'abcdefghjiklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ- ()')
|
||||
names_position = (100, 175)
|
||||
names_position = (10, 135)
|
||||
names_color = 0xFF00FF
|
||||
|
||||
while True:
|
||||
|
|
|
|||
BIN
PyPortal_Astronauts/astronauts_background.bmp
Normal file → Executable file
BIN
PyPortal_Astronauts/astronauts_background.bmp
Normal file → Executable file
Binary file not shown.
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 150 KiB |
Loading…
Reference in a new issue