[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freetype] Caching glyph metrics
From: |
Michael Day |
Subject: |
[Freetype] Caching glyph metrics |
Date: |
Tue, 9 Apr 2002 18:24:21 +1000 |
Hi,
Does anyone have some sample code to subclass FT_Glyph_Cache to cache
glyph metrics? It should be possible to create a metrics cache by changing
FT_ImageCache, but this is not very easy when you are still trying to
understand the caching mechanism.
Would it be possible to create a cache that stores glyph specific data
derived by a function passed in at cache creation time, perhaps? That way
it might be possible to implement image and metric caches sharing the same
code?
Michael
- [Freetype] Caching glyph metrics,
Michael Day <=