| skipped 22 lines |
23 | 23 | | if system == 'Windows': |
24 | 24 | | font_path = 'C:\\Windows\\Fonts\\arial.ttf' |
25 | 25 | | else: |
26 | | - | font_path = 'Aria.ttf' |
| 26 | + | font_path = 'Arial.ttf' |
27 | 27 | | arial = ImageFont.truetype(font_path, 30) |
28 | 28 | | draw.text((10, 10), text, fill=(0, 0, 0), font=arial) # Black |
29 | 29 | | image.save(file_path, format='jpeg') |
| skipped 9 lines |
39 | 39 | | if system == 'Windows': |
40 | 40 | | font_path = 'C:\\Windows\\Fonts\\arial.ttf' |
41 | 41 | | else: |
42 | | - | font_path = 'Aria.ttf' |
| 42 | + | font_path = 'Arial.ttf' |
43 | 43 | | arial = ImageFont.truetype(font_path, 30) |
44 | 44 | | draw.text((10, 10), text, fill=(0, 0, 0), font=arial) # Black |
45 | 45 | | output = io.BytesIO() |
| skipped 89 lines |