diff options
author | Werner Lemberg <wl@gnu.org> | 2010-10-01 07:48:01 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2010-10-01 07:48:01 +0200 |
commit | 3343ecd82eaa37d787ef0d06f808bff16536f98b (patch) | |
tree | 06f713021ce35ef5aef1827ed3f48e58f9b55809 /include | |
parent | d2b8b8db8a3325c4349976380983df27e46106e0 (diff) |
Improve cache description.
Suggested by Gernot.Reisinger@omnino.at.
Diffstat (limited to 'include')
-rw-r--r-- | include/freetype/ftcache.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/freetype/ftcache.h b/include/freetype/ftcache.h index a9e1237b..fe8664d0 100644 --- a/include/freetype/ftcache.h +++ b/include/freetype/ftcache.h @@ -56,9 +56,12 @@ FT_BEGIN_HEADER * interpret them in any way. * * Second, the cache calls, only when needed, a client-provided function - * to convert a @FTC_FaceID into a new @FT_Face object. The latter is + * to convert an @FTC_FaceID into a new @FT_Face object. The latter is * then completely managed by the cache, including its termination - * through @FT_Done_Face. + * through @FT_Done_Face. To monitor termination of face objects, the + * finalizer callback in the `generic' field of the @FT_Face object can + * be used, which might also be used to store the @FTC_FaceID of the + * face. * * Clients are free to map face IDs to anything else. The most simple * usage is to associate them to a (pathname,face_index) pair that is |