Merge 25584, 25588.
[reactos.git] / reactos / dll / 3rdparty / freetype / src / truetype / ttpload.h
1 /***************************************************************************/
2 /* */
3 /* ttpload.h */
4 /* */
5 /* TrueType-specific tables loader (specification). */
6 /* */
7 /* Copyright 1996-2001, 2002, 2005, 2006 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 /***************************************************************************/
17
18
19 #ifndef __TTPLOAD_H__
20 #define __TTPLOAD_H__
21
22
23 #include <ft2build.h>
24 #include FT_INTERNAL_TRUETYPE_TYPES_H
25
26
27 FT_BEGIN_HEADER
28
29
30 FT_LOCAL( FT_Error )
31 tt_face_load_loca( TT_Face face,
32 FT_Stream stream );
33
34 FT_LOCAL( FT_ULong )
35 tt_face_get_location( TT_Face face,
36 FT_UInt gindex,
37 FT_UInt *asize );
38
39 FT_LOCAL( void )
40 tt_face_done_loca( TT_Face face );
41
42 FT_LOCAL( FT_Error )
43 tt_face_load_cvt( TT_Face face,
44 FT_Stream stream );
45
46 FT_LOCAL( FT_Error )
47 tt_face_load_fpgm( TT_Face face,
48 FT_Stream stream );
49
50
51 FT_LOCAL( FT_Error )
52 tt_face_load_prep( TT_Face face,
53 FT_Stream stream );
54
55
56 FT_LOCAL( FT_Error )
57 tt_face_load_hdmx( TT_Face face,
58 FT_Stream stream );
59
60
61 FT_LOCAL( void )
62 tt_face_free_hdmx( TT_Face face );
63
64
65 FT_LOCAL( FT_Byte* )
66 tt_face_get_device_metrics( TT_Face face,
67 FT_UInt ppem,
68 FT_UInt gindex );
69
70 FT_END_HEADER
71
72 #endif /* __TTPLOAD_H__ */
73
74
75 /* END */