Re: nospam plugin

Murray Cumming <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Sun, 2005-03-06 at 19:16 +0100, Steven Armstrong wrote:
> It seems you have an somewhat old version of PIL installed that doesn't
> support truetype fonts. As an alternative you can download some .pil
> fonts from [1].
> 
> Then change line +-126 in nospam.py:
> from:
> font = ImageFont.truetype(_fontPath, _fontSize)
> to:
> font = ImageFont.load("/path/to/pilfonts/lubB10.pil")

Thanks. That works until I can get the PIL updated:

Strangely though, it always says that the secret number does not match.

-- 
Murray Cumming
[email protected]
www.murrayc.com
www.openismus.com



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.