newline tests
This commit is contained in:
parent
898a9c19d9
commit
107ee33680
2
main.py
2
main.py
@ -26,7 +26,7 @@ try:
|
|||||||
# draw.pieslice((55, 60, 95, 100), 270, 360, fill = 0)
|
# draw.pieslice((55, 60, 95, 100), 270, 360, fill = 0)
|
||||||
# draw.polygon([(110,0),(110,50),(150,25)],outline = 0)
|
# draw.polygon([(110,0),(110,50),(150,25)],outline = 0)
|
||||||
# draw.polygon([(190,0),(190,50),(150,25)],fill = 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:
|
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((0, 60), '{}'.format(message), font = font15, fill = 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user