[Image-SIG] PIL Font problem revisited

Fredrik Lundh fredrik@pythonware.com
Thu, 6 Jun 2002 18:34:50 +0200


Scott Burton wrote:

> PIL\ImageDraw.py, line 77, in _getink
> AttributeError: ImageFont instance has no attribute '__int__' 

are you sure you're passing in the right arguments to
the text method?  colours and fonts should be given
as keyword arguments, e.g:

    d.text(position, text, font=myfont)

</F>