> I have checked if the FT2 caching is compiled in the current code, and it seems like ftcache.c is compiled (ftcache.o and ftcache.lo is built).
You'll want to check whether caching is enabled in the microwindows code - engine/font_freetype2.c, its determined by version number and an additional #define. > I am using Microwindows 0.9 and Freetype 2.1.3. I assume you mean the CVS 0.92? If its still slow, tell us what the framebuffer format is, and you might want to look at the psd->DrawArea code, which for some drivers is supposed to be quite fast. This was a speedup from the FT1 driver which doesn't use the improved driver drawarea/blit support. You may need to profile the application to see where the time is really being spent. Regards, Greg Regards, Sven Greg Haerr wrote: > : I am using Freetype2 with Nano-X. Font drawing is very slow compared to > : the rest of my system and I hope this can be tweaked in some way. I have > : checked that HAVE_FREETYPE_2_CACHE and HAVE_FREETYPE_2_CMAP_CACHE in > : font_freetype2.c is set to one to activate cache. > > I modified the CVS version of the FT2 driver some months ago > and fixed a number of smaller bugs. I found that the FT2 caching > wouldn't compile, depending on the version of FT2 installed. > I fixed font_freetype2.c to work with the latest FT2 version, > but it turns off caching, due to changes in internal FT2 structure member > names. Check the source file for more details, and compare with > your installed version of FT2. Caching does work with older > FT2 versions. We also have a really old FT1 caching driver. > > Let me know what you find, and we'll go from there. > > Regards, > > Greg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Sven Johnsson Hardware Developer ________________________________________ LUND IP PRODUCTS AB Dalbyvägen 1 SE-224 60 LUND Sweden Phone: +46-(0)46 5900 320 Fax: +46-(0)46 151 440 Mobile: +46-(0)704 670 882 Skype: sven.johnsson www.lip-wifi.com [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]