1 /***************************************************************************/
5 /* Auto-fitter glyph loading routines (specification). */
7 /* Copyright 2003, 2004, 2005 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
16 /***************************************************************************/
19 #ifndef __AF_LOADER_H__
20 #define __AF_LOADER_H__
28 typedef struct AF_LoaderRec_
30 FT_Face face
; /* current face */
31 AF_FaceGlobals globals
; /* current face globals */
32 FT_GlyphLoader gloader
; /* glyph loader */
33 AF_GlyphHintsRec hints
;
34 AF_ScriptMetrics metrics
;
36 FT_Matrix trans_matrix
;
37 FT_Vector trans_delta
;
40 /* we don't handle vertical phantom points */
42 } AF_LoaderRec
, *AF_Loader
;
46 af_loader_init( AF_Loader loader
,
51 af_loader_reset( AF_Loader loader
,
56 af_loader_done( AF_Loader loader
);
60 af_loader_load_glyph( AF_Loader loader
,
63 FT_UInt32 load_flags
);
70 #endif /* __AF_LOADER_H__ */