Content-type: text/html
data :: A typeless pointer to any client-specified data. This field is completely ignored by the FreeType library.
finalizer :: A pointer to a `generic finalizer' function, which will be called when the object is destroyed. If this field is set to NULL, no code will be called. typedef struct FT_Generic_ { void* data; FT_Generic_Finalizer finalizer; } FT_Generic;
Client applications often need to associate their own data to a variety of FreeType core objects. For example, a text layout API might want to associate a glyph cache to a given size object. Most FreeType object contains a `generic' field, of type FT_Generic, which usage is left to client applications and font servers. It can be used to store a pointer to client-specific data, as well as the address of a `finalizer' function, which will be called by FreeType when the object is destroyed (for example, the previous client example would put the address of the glyph cache destructor in the `finalizer' field). Client applications often need to associate their own data to a variety of FreeType core objects. For example, a text layout API might want to associate a glyph cache to a given size object. Most FreeType object contains a `generic' field, of type FT_Generic, which usage is left to client applications and font servers. It can be used to store a pointer to client-specific data, as well as the address of a `finalizer' function, which will be called by FreeType when the object is destroyed (for example, the previous client example would put the address of the glyph cache destructor in the `finalizer' field).
FT_MAKE_TAG
This macro converts four letter tags which are used to label TrueType tables into an unsigned long to be used within FreeType. #define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) ( ( (FT_ULong)_x1 << 24 ) | ( (FT_ULong)_x2 << 16 ) | ( (FT_ULong)_x3 << 8 ) | (FT_ULong)_x4 ) L I S T M A N A G E M E N T
This documentation was generated for Freetype 2.0.4 by autodocbook (http://www.stillhq.com). Autodocbook is (c) Michael Still 2001.
Copyright 1996-2000 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used, modified, and distributed under the terms of the FreeType project license, LICENSE.TXT. By continuing to use, modify, or distribute this file you indicate that you have read the license and understand and accept it fully.
Please report errors in this documentation, and Freetype itself to freetype@freetype.org