List Info

Thread: Image fonts




Image fonts
country flaguser name
United Kingdom
2007-02-11 14:19:27
I want to draw text onto a JPEG image. On Windows I have
TrueType fonts 
and font = ImageFont.truetype("Arial.ttf",12)
works. On my ISP's FreeBSD 
system it does not - the resource is unknown. So I need to
supply PIL 
with some fonts - but I have not the foggiest how to go
about this.
The BSD is  "FreeBSD 4.8-STABLE ", Python is 
"Python 2.3.4" and I think 
that the  PIL library is 1.1.5.   I am pretty sure PIL is at
1.1.5 (is 
there anyway I can find this out?).  I presently can't even
see how to 
find out what fonts are available let alone install
additonal ones.  Any 
help much appreciated.

Peter
_______________________________________________
Image-SIG maillist  -  Image-SIGpython.org
htt
p://mail.python.org/mailman/listinfo/image-sig

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )