Skip to content

Commit

Permalink
text size
Browse files Browse the repository at this point in the history
  • Loading branch information
rupa committed Jun 18, 2015
1 parent 9e73b74 commit 16cfeb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansi.py
Expand Up @@ -168,7 +168,7 @@ def prepare_img(filename, max_size, text=''):
width, height = img.size

draw = ImageDraw.Draw(img)
fontsize = int(width / 5.0) + 1
fontsize = int(width / 10.0) + 1
fontrgba = (0, 0, 0, 0)
para = wrap(text, width=8)
font = ImageFont.truetype('{0}/Impact.ttf'.format(sys.path[0]), fontsize)
Expand Down

0 comments on commit 16cfeb8

Please sign in to comment.