nanogui: Freetype2 speed issue


Previous by date: 17 Mar 2008 12:42:33 -0000 Re: Freetype2 speed issue, Greg Haerr
Next by date: 17 Mar 2008 12:42:33 -0000 Re: Freetype2 speed issue, Greg Haerr
Previous in thread: 17 Mar 2008 12:42:33 -0000 Re: Freetype2 speed issue, Greg Haerr
Next in thread: 17 Mar 2008 12:42:33 -0000 Re: Freetype2 speed issue, Greg Haerr

Subject: Re: [nanogui] Freetype2 speed issue
From: Sven Johnsson ####@####.####
Date: 17 Mar 2008 12:42:33 -0000
Message-Id: <47DE672E.7070700@lip-wifi.com>

Greg,

Thanks for your answer. I have downloaded the CVS source and I have done 
my best to understand the differences.

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

After inserting some printf's in the Freetype2 cache source code I got 
the following result:
When text is drawn, both FTC_CMapCache_Lookup() and 
FTC_Manager_Lookup_Face() are executed.

I am using Microwindows 0.9 and Freetype 2.1.3.


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: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>   


-- 

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
####@####.#### 


Previous by date: 17 Mar 2008 12:42:33 -0000 Re: Freetype2 speed issue, Greg Haerr
Next by date: 17 Mar 2008 12:42:33 -0000 Re: Freetype2 speed issue, Greg Haerr
Previous in thread: 17 Mar 2008 12:42:33 -0000 Re: Freetype2 speed issue, Greg Haerr
Next in thread: 17 Mar 2008 12:42:33 -0000 Re: Freetype2 speed issue, Greg Haerr


Powered by ezmlm-browse 0.20.