[PD] pdp_text stange behaviour

ydegoyon ydegoyon at gmail.com
Thu Sep 4 17:05:31 CEST 2008


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
>>
>>
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdp_text.c
Type: text/x-csrc
Size: 19452 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080904/e84bc443/attachment.c>


More information about the Pd-list mailing list