Hi Andre,

Let's keep this on freevo-devel list where others can benefit from this
discussion.

Something isn't following here with your exception.  It looks like the
'canvas' object is actually a canvas image.  Can you please attach
hello9.py so I can have a look at it?

Also please make sure you're using the latest checkout from svn.  (cvs
on sourceforge is no longer used; see the wiki for details on svn
checkout).

Cheers,
Jason. 

On Fri, 2006-04-07 at 11:36 -0300, Andre Henrique Campos wrote:
> Hi Jason,
> 
> Thanks for reply.
> 
> I get the Exception:
> ---------------------------------------------------------------------------------------------------
> Traceback (most recent call last):
>   File "hello9.py", line 5, in ?
>     canvas.add_font_path(".")
>   File "/usr/lib/python2.4/site-packages/kaa/canvas/canvas.py", line
> 146, in add_font_path
>     self["fontpath"] = self["fontpath"] + [path]
>   File "/usr/lib/python2.4/site-packages/kaa/canvas/object.py", line
> 79, in __setitem__
>     self._set_property_generic(key, value)
>   File "/usr/lib/python2.4/site-packages/kaa/canvas/container.py",
> line 84, in _set_property_generic
>     self._force_sync_property(key)
>   File "/usr/lib/python2.4/site-packages/kaa/canvas/container.py",
> line 91, in _force_sync_property
>     child._force_sync_property(prop)
>   File "/usr/lib/python2.4/site-packages/kaa/canvas/object.py", line
> 741, in _force_sync_property
>     raise ValueError, "Unsupported property '%s'; supported: %s" % \
> ValueError: Unsupported property 'fontpath'; supported: ['name',
> 'expand', 'visible', 'display', 'layer', 'color', 'margin', 'padding',
> 'border', 'image', 'filename', 'pixels', 'data', 'dirty', 'aspect',
> 'size', 'pos', 'clip', 'has_alpha']
> ---------------------------------------------------------------------------------------------------
> 
> Cheers,
> Andre
> 
> 
> 2006/4/7, Jason Tackaberry <[EMAIL PROTECTED]>:
> > Hi Andre,
> >
> > On Fri, 2006-04-07 at 11:20 -0300, Andre Henrique Campos wrote:
> > > > I have the fonts in the current directory, and downloaded kaa of the
> > > > day 2006-02-14.
> >
> > Try calling:
> >
> >    canvas.add_font_path(".")
> >
> > Just after you instantiate the canvas. The current directory (.) is not
> > included in your font path by default.
> >
> > Cheers,
> > Jason.
> >
> >
> 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to