On Wed, 2009-10-14 at 01:09 -0700, jessonel wrote: > I'm a newbi in directfb and have a questions.
You are welcome. But please do not cross-post questions to the directbfb-dev and directfb-users list. > I'm testing font loading on at91sam9rl64 & directfb-1.0.0. > I found it takes 120ms~800ms to load a font by CreateFont(). > > How can i make CreateFont() faster? You can use a profiler to find an answer to this question. But I doubt that there is much potential for optimization there. You could instead cache the fonts that you use and thus avoid calling CreateFont() every so often. Sven _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev