Commit f063a21e by U+039b

Resize

parent 1511ca3e
......@@ -46,14 +46,15 @@ padding = -2
top = padding
bottom = height-padding
# Move left to right keeping track of the current x position for drawing shapes.
x = 0
x = 2
font = ImageFont.truetype('/home/pi/pi-router-oled/Minecraftia.ttf', 16)
font2 = ImageFont.truetype('/home/pi/pi-router-oled/Minecraftia.ttf', 10)
font2 = ImageFont.truetype('/home/pi/pi-router-oled/Minecraftia.ttf', 12)
# Write two lines of text.
draw.text((x, top), " U+039b - LTE/Wifi", font=font, fill=255)
draw.text((x, top+32), "Booting ......", font=font2, fill=255)
draw.text((x, top), " U+039b", font=font, fill=255)
draw.text((x, top+20), "4G LTE/Wifi", font=font, fill=255)
draw.text((x, top+50), "Booting ......", font=font2, fill=255)
# Display image.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment