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