[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Glyph Bitmap Caching in FreeType
From: |
Stefan Seefeld |
Subject: |
Re: Glyph Bitmap Caching in FreeType |
Date: |
Wed, 08 Mar 2000 08:53:02 -0500 |
I don't think that mandatory caching inside FT is a good thing.
Different renderers have different pixmap formats or even vector
drawing formats (openGL display lists) so I'd prefer to do the
caching there. Each glyph is then produced once and only if the
renderer glyph lookup didn't find a glyph (whether individual
character or whole string) the freetype engine needs to be consulted.
Of course, 'equality' as used in the lookup can involve other
information as for example pixel relative position, since it
might require a glyph to be rasterized differently (hinting)
if the pixel relative position is not exactly the same or it
is rotated, or...
Regards, Stefan
_______________________________________________________
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: address@hidden
_______________________________________________________
...ich hab' noch einen Koffer in Berlin...