What did you do?
I tried to create a text using the font "ParryHotter" (using the code below)
What did you expect to happen?
I expected to see an image with the text "Parry Hotter" in the corresponding font
What actually happened?
A blank image opened
What versions of Pillow and Python are you using?
Python 2.7.13 and 3.6.1
Pillow 4.1.1
Please include code that reproduces the issue and whenever possible, an image that demonstrates the issue. Please upload images to GitHub, not to third-party file hosting sites. If necessary, add the image to a zip or tar archive.
The best reproductions are self-contained scripts with minimal dependencies. If you are using a framework such as plone, Django, or buildout, try to replicate the issue just using Pillow.
from PIL import Image, ImageFont, ImageDraw
font = ImageFont.truetype("parryhotter.ttf", 20)
image = Image.new("RGBA", font.getsize("Parry Hotter"))
draw = ImageDraw.Draw(image)
draw.text((0,0),"Parry Hotter", font=font)
image.show()
What did you do?
I tried to create a text using the font "ParryHotter" (using the code below)
What did you expect to happen?
I expected to see an image with the text "Parry Hotter" in the corresponding font
What actually happened?
A blank image opened
What versions of Pillow and Python are you using?
Python 2.7.13 and 3.6.1
Pillow 4.1.1
Please include code that reproduces the issue and whenever possible, an image that demonstrates the issue. Please upload images to GitHub, not to third-party file hosting sites. If necessary, add the image to a zip or tar archive.
The best reproductions are self-contained scripts with minimal dependencies. If you are using a framework such as plone, Django, or buildout, try to replicate the issue just using Pillow.