merged freetype 2.4.3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39524 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3808,7 +3808,7 @@ FT_BEGIN_HEADER
|
||||
*/
|
||||
#define FREETYPE_MAJOR 2
|
||||
#define FREETYPE_MINOR 4
|
||||
#define FREETYPE_PATCH 2
|
||||
#define FREETYPE_PATCH 3
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -268,9 +268,21 @@ FT_BEGIN_HEADER
|
||||
/* flow. In all cases, the pitch is an offset to add */
|
||||
/* to a bitmap pointer in order to go down one row. */
|
||||
/* */
|
||||
/* Note that `padding' means the alignment of a */
|
||||
/* bitmap to a byte border, and FreeType functions */
|
||||
/* normally align to the smallest possible integer */
|
||||
/* value. */
|
||||
/* */
|
||||
/* For the B/W rasterizer, `pitch' is always an even */
|
||||
/* number. */
|
||||
/* */
|
||||
/* To change the pitch of a bitmap (say, to make it a */
|
||||
/* multiple of 4), use @FT_Bitmap_Convert. */
|
||||
/* Alternatively, you might use callback functions to */
|
||||
/* directly render to the application's surface; see */
|
||||
/* the file `example2.cpp' in the tutorial for a */
|
||||
/* demonstration. */
|
||||
/* */
|
||||
/* buffer :: A typeless pointer to the bitmap buffer. This */
|
||||
/* value should be aligned on 32-bit boundaries in */
|
||||
/* most cases. */
|
||||
|
||||
Reference in New Issue
Block a user