[PD] pdp_text stange behaviour

Claude Heiland-Allen claudiusmaximus at goto10.org
Thu Sep 4 12:47:58 CEST 2008


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', and 
calling imlib_context_set_font() every time just before drawing text?

Or would that be too inefficient?

> saluti,
> sevy

Thanks,


Claude





More information about the Pd-list mailing list