ok, it seems to work, here it is attached
but i cannot commit to svn ::
svn commit --username sevyves --password ******* -m "setting font before drawing" pdp_text.c svn: Commit failed (details follow): svn: MKACTIVITY of '/svnroot/pure-data/!svn/act/b4c68913-14a6-4477-9381-0ceebc911e4c': 403 Forbidden (http://pure-data.svn.sourceforge.net)
and don't ask, yes my password is allright
ydegoyon wrote:
Claude Heiland-Allen wrote:
ydegoyon wrote:
ola,
it's a limitation here, as we use the imlib library that lets sets the font only globally in your application with :
imlib_context_set_font( font );
i don't know any workaround for it.
How about storing a different 'font' in each instance of 'pdp_text'
this is already the case
and calling imlib_context_set_font() every time just before drawing text?
yeh that could be done, but maybe it's a little bit heavy? i can try
cheers, sevy
Or would that be too inefficient?
saluti, sevy
Thanks,
Claude