newline tests

This commit is contained in:
Sean Corrigan 2020-11-13 17:07:35 -05:00
parent 898a9c19d9
commit 107ee33680

View File

@ -26,7 +26,7 @@ try:
# draw.pieslice((55, 60, 95, 100), 270, 360, fill = 0)
# draw.polygon([(110,0),(110,50),(150,25)],outline = 0)
# draw.polygon([(190,0),(190,50),(150,25)],fill = 0)
message = "testing 123 what is going on ahbfuasdfhkgasyudgfuasykgdf"
message = "testing 123 what is going on\n ahbfuasdfhkgasyudgfuasykgdf"
while True:
font15 = ImageFont.truetype('wqy-microhei.ttc', 20)
draw.text((0, 60), '{}'.format(message), font = font15, fill = 0)