sizing and loc

This commit is contained in:
Sean Corrigan 2020-11-13 17:08:23 -05:00
parent 107ee33680
commit 3f56b40b0d

View File

@ -29,7 +29,7 @@ try:
message = "testing 123 what is going on\n ahbfuasdfhkgasyudgfuasykgdf" message = "testing 123 what is going on\n ahbfuasdfhkgasyudgfuasykgdf"
while True: while True:
font15 = ImageFont.truetype('wqy-microhei.ttc', 20) font15 = ImageFont.truetype('wqy-microhei.ttc', 20)
draw.text((0, 60), '{}'.format(message), font = font15, fill = 0) draw.text((3, 3), '{}'.format(message), font = font15, fill = 0)
epd.display(epd.getbuffer(image)) epd.display(epd.getbuffer(image))
time.sleep(2) time.sleep(2)