nanogui: nano-X, freetype and font caches?


Previous by date: 24 Aug 2005 09:07:45 +0100 Re: multi-threaded app: problem and suggestion; patch, Petr Ovtchenkov
Next by date: 24 Aug 2005 09:07:45 +0100 Re: (off topic) using USB printers for embedded?, Aaron J. Grier
Previous in thread: 24 Aug 2005 09:07:45 +0100 Re: nano-X, freetype and font caches?, Greg Haerr
Next in thread: 24 Aug 2005 09:07:45 +0100 Re: nano-X, freetype and font caches?, Steven Scholz

Subject: Re: [nanogui] nano-X, freetype and font caches?
From: Steven Scholz ####@####.####
Date: 24 Aug 2005 09:07:45 +0100
Message-Id: <430C2ACC.8080703@imc-berlin.de>

Greg Haerr wrote:
> : Now my quetsion is if we could use some kind of cache mechanism in nano-X.
> I
> : thought freetype knows about font chaching...
> 
> Nano-X doesn't cache any fonts (except of course converted
> .bdf fonts linked internally) directly.  There have been a couple
> cases of extra code added to cache freetype fonts for speed.
> I have an older version for freetype 1.x.  Gabrielle contributed
> all sorts of changes for freetype 2.x with his win32 changes,
> including font caching, which are included in CVS.  However,
> I had to disable the cache code, since some applications
> segfaulted when enabled.  There hasn't been time to debug
> this contributed code.

Thanks.

But my understanding was correct that when a truetype font is loaded
(i.ew use for the first time in an application) then the font file is
loaded and all character in that font are rendered into ram. So later
the rendered images are just copied, right?

--
Steven

Previous by date: 24 Aug 2005 09:07:45 +0100 Re: multi-threaded app: problem and suggestion; patch, Petr Ovtchenkov
Next by date: 24 Aug 2005 09:07:45 +0100 Re: (off topic) using USB printers for embedded?, Aaron J. Grier
Previous in thread: 24 Aug 2005 09:07:45 +0100 Re: nano-X, freetype and font caches?, Greg Haerr
Next in thread: 24 Aug 2005 09:07:45 +0100 Re: nano-X, freetype and font caches?, Steven Scholz


Powered by ezmlm-browse 0.20.