This line: https://github.com/python-imaging/Pillow/blob/master/PIL/ImageFont.py#L264 causes error as described here: http://stackoverflow.com/questions/17863735/python-pillow-better-pil-encoding-check-bug Please, fix it.