PIL font formatting...

Durumdara durumdara at gmail.com
Wed Apr 25 07:09:19 EDT 2007


Hi!

I wrote a web visitor counter with modpy and pil.
It is must working on half-static page, so I must write this counter with
jpeg image output.

Everything is working good, but I need to change this counter a little, it's
style isn't same as it's webpage's style.

I want to make bold and italic text into image. How to I do it?

font = ImageFont.truetype('arial.ttf', 15, ????)

.text('aaaaa', font = font, ????)

Please help me!!!

dd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070425/baa95909/attachment.html>


More information about the Python-list mailing list