smaller font
This commit is contained in:
parent
02ee417df8
commit
4cee4c7109
@ -19,7 +19,7 @@ def sendUpdate(message):
|
|||||||
draw = ImageDraw.Draw(image)
|
draw = ImageDraw.Draw(image)
|
||||||
|
|
||||||
# font15 = ImageFont.truetype('wqy-microhei.ttc', 20)
|
# font15 = ImageFont.truetype('wqy-microhei.ttc', 20)
|
||||||
font15 = ImageFont.truetype('fancyfont.ttf', 28)
|
font15 = ImageFont.truetype('fancyfont.ttf', 24)
|
||||||
draw.text((3, 3), '{}'.format(message), font = font15, fill = 0)
|
draw.text((3, 3), '{}'.format(message), font = font15, fill = 0)
|
||||||
image = image.rotate(180)
|
image = image.rotate(180)
|
||||||
epd.display(epd.getbuffer(image))
|
epd.display(epd.getbuffer(image))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user