1 /***************************************************************************/
2 /* */
3 /* ttgload.h */
4 /* */
5 /* TrueType Glyph Loader (specification). */
6 /* */
7 /* Copyright 1996-2001 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */
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. */
15 /* */
16 /***************************************************************************/
19 #ifndef __TTGLOAD_H__
20 #define __TTGLOAD_H__
23 #include <ft2build.h>
24 #include "ttobjs.h"
26 #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
27 #include "ttinterp.h"
28 #endif
31 FT_BEGIN_HEADER
34 FT_LOCAL void
35 TT_Get_Metrics( TT_HoriHeader* header,
36 FT_UInt index,
37 FT_Short* bearing,
38 FT_UShort* advance );
40 FT_LOCAL void
41 TT_Init_Glyph_Loading( TT_Face face );
43 FT_LOCAL FT_Error
44 TT_Load_Glyph( TT_Size size,
45 TT_GlyphSlot glyph,
46 FT_UShort glyph_index,
47 FT_UInt load_flags );
50 FT_END_HEADER
52 #endif /* __TTGLOAD_H__ */
55 /* END */