shithub: freetype+ttf2subf

Download patch

ref: 3343ecd82eaa37d787ef0d06f808bff16536f98b
parent: d2b8b8db8a3325c4349976380983df27e46106e0
author: Werner Lemberg <[email protected]>
date: Fri Oct 1 03:48:01 EDT 2010

Improve cache description.

Suggested by [email protected].

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype/ftcache.h
+++ b/include/freetype/ftcache.h
@@ -56,9 +56,12 @@
    *   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