nanogui: freetype2 now works


Previous by date: 10 Dec 2005 10:48:27 +0000 Re: freetype2 now works, Paul Bartholomew
Next by date: 10 Dec 2005 10:48:27 +0000 reading the keyboard, Yan Seiner
Previous in thread: 10 Dec 2005 10:48:27 +0000 Re: freetype2 now works, Paul Bartholomew
Next in thread: 10 Dec 2005 10:48:27 +0000 Re: freetype2 now works, Greg Haerr

Subject: Re: [nanogui] freetype2 now works
From: Steven Scholz ####@####.####
Date: 10 Dec 2005 10:48:27 +0000
Message-Id: <439AB271.1040509@imc-berlin.de>

Greg Haerr wrote:
>>>I've modified "engine/font_freetype2.c" to 'fix' all of these
>>>problems.  Some of the 'fixes' aren't really fixing the problem -
>>>they just avoid them.  For example, if using FT version 2.1.5
>>>or higher, I disable the "FAST" version of "freetype2_drawtext()".
>>>Also, if using FT version 2.1.8 or higher, I force
>>>"HAVE_FREETYPE_2_CACHE" to be "0" (which now works, because I've
>>>fixed the compile errors that used to occur in this case).
>>
>>Has someone tested this by now? Is it already in CVS?
> 
> 
> I don't have this patch, I'd like to see one against CVS.  Note
> that the cache issue is different than the reason I disabled cache
> support: the CVS version is from Gabrielle, it compiles
> but doesn't run in all cases.  The non-cache version works great.

Could you please shortly explain what exactly "caching" means w.r.t.
freetype?

IIUC then when using a freetypefont for the first time in an application
it is loaded from the *.ttf file and all characters are rendered into
some memory. Then these bitmaps are copied when needed.
This takes quite some time on my little embedded system.

So where exactly would this caching help?

--
Steven


Previous by date: 10 Dec 2005 10:48:27 +0000 Re: freetype2 now works, Paul Bartholomew
Next by date: 10 Dec 2005 10:48:27 +0000 reading the keyboard, Yan Seiner
Previous in thread: 10 Dec 2005 10:48:27 +0000 Re: freetype2 now works, Paul Bartholomew
Next in thread: 10 Dec 2005 10:48:27 +0000 Re: freetype2 now works, Greg Haerr


Powered by ezmlm-browse 0.20.