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
ydegoyon wrote:
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
your problems are most likely because of a scheduled downtime of the subversion servers: http://lists.puredata.info/pipermail/pd-dev/2008-09/012246.html
fgadrm IOhannes
ydegoyon escribió:
ok, it seems to work, here it is attached
Yes, it works! many thanks. just a warning output in my application:
***** Imlib2 Developer Warning ***** : This program is calling the Imlib call:
imlib_get_text_size();
With the parameter:
font
being NULL. Please fix your program.
See you soon in bcn Husk
ok, you're right, here's the right one..
still unable to commit...
husk wrote:
ydegoyon escribió:
ok, it seems to work, here it is attached
Yes, it works! many thanks. just a warning output in my application:
***** Imlib2 Developer Warning ***** : This program is calling the Imlib call:
imlib_get_text_size(); With the parameter: font being NULL. Please fix your program.
See you soon in bcn Husk
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list