[interfacekit] Re: FreeType2 and font cache


On Wed, 27 Feb 2002, Marcus Overhagen wrote:

>
> Erik Jakowatz <erik@xxxxxxxxxxxxxx> wrote:
>
> >> That reminds me. What *is* a font cache, anyway - is it merely just holding
> >> fonts in memory so we don't have to load them from disk?
> >
> >That's about the size of it.  The key, of course, is making it effecient. =)
>
> I would expect a font cache to cache most of the rendering,
> this means converting formulas into a bitmap, of a font, too.

That is correct, since a font cache needs more than one level of caching,
it is rather complex.

> This might be a problem with antialising, but probably only because
> I don't understand much of this ussues.

In FreeType2, using antialiasing is rather simple, every pixel has a value
between 0-255, telling us how transparent a pixel is, just like the normal
alpha channels in RGBA mode.

// Nicklas Larsson


Other related posts: