Re: Generating images with text in them

2005-07-22 Thread Mike Meyer
[EMAIL PROTECTED] (phil hunt) writes: On Thu, 21 Jul 2005 02:44:03 -0500, Terry Hancock [EMAIL PROTECTED] wrote: While bitmap font files are not copyrightable, there are license issues with most of the nicer fonts you are probably talking about. Oh? I can understand them being copyrighted; but

Re: Generating images with text in them

2005-07-21 Thread Terry Hancock
On Wednesday 20 July 2005 11:59 pm, phil hunt wrote: I am trying to generate some images (gifs or pngs) with text in them. I can use the Python Imaging Library, but it only has access to the default, rather crappy, font. On the fly, or just during development? In any case, you should be

Re: Generating images with text in them

2005-07-21 Thread Daren Russell
phil hunt wrote: I am trying to generate some images (gifs or pngs) with text in them. I can use the Python Imaging Library, but it only has access to the default, rather crappy, font. Ideally I'd like to use one of the nicer fonts that come with my X Windows installation. Using Tkinter

Re: Generating images with text in them

2005-07-21 Thread John Abel
Have you downloaded the pilfonts.zip from effbot.org? J phil hunt wrote: I am trying to generate some images (gifs or pngs) with text in them. I can use the Python Imaging Library, but it only has access to the default, rather crappy, font. Ideally I'd like to use one of the nicer fonts

Re: Generating images with text in them

2005-07-21 Thread phil hunt
On Thu, 21 Jul 2005 11:23:46 +0100, Daren Russell [EMAIL PROTECTED] wrote: phil hunt wrote: I am trying to generate some images (gifs or pngs) with text in them. I can use the Python Imaging Library, but it only has access to the default, rather crappy, font. Ideally I'd like to use one

Re: Generating images with text in them

2005-07-21 Thread Terry Hancock
On Thursday 21 July 2005 05:23 am, Daren Russell wrote: I've just been playing around with this. You can use truetype fonts with: font = ImageFont.truetype(/path/to/font.ttf, 12) from version 1.1.4 http://www.pythonware.com/library/pil/handbook/imagefont.htm for more Wow, I didn't know

Re: Generating images with text in them

2005-07-21 Thread Terry Hancock
On Thursday 21 July 2005 11:29 am, phil hunt wrote: On Thu, 21 Jul 2005 02:44:03 -0500, Terry Hancock [EMAIL PROTECTED] wrote: On Wednesday 20 July 2005 11:59 pm, phil hunt wrote: I am trying to generate some images (gifs or pngs) with text in them. I can use the Python Imaging Library, but

Generating images with text in them

2005-07-20 Thread phil hunt
I am trying to generate some images (gifs or pngs) with text in them. I can use the Python Imaging Library, but it only has access to the default, rather crappy, font. Ideally I'd like to use one of the nicer fonts that come with my X Windows installation. Using Tkinter I can draw these fonts