[Image-SIG] ImageDraw questions.

KwangYul Seo kwangyul.seo at gmail.com
Wed Mar 12 06:31:35 CET 2008


I draw fonts using ImageFont module. I have two questions on ImageDraw

1. What is the unit of font size?

ImageFont.trutype(file, size) can specify the font size as its second
argument. I specified font size 10, but the output text seems to be smaller
than 10.

2. What is the best way to get a list of fonts which can be passed to
ImageFont.truetype(file, size)? Certainly, I can scan Windows system fonts
under C:/WINDOWS/Fonts, but it does not look like a portable way.

Kwang Yul Seo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20080312/af913311/attachment.htm 

More information about the Image-SIG mailing list