1/****************************************************************************
2 *
3 * ttpload.h
4 *
5 * TrueType-specific tables loader (specification).
6 *
7 * Copyright (C) 1996-2023 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 <freetype/internal/tttypes.h>
24
25
26FT_BEGIN_HEADER
27
28
29 FT_LOCAL( FT_Error )
30 tt_face_load_loca( TT_Face face,
31 FT_Stream stream );
32
33 FT_LOCAL( FT_ULong )
34 tt_face_get_location( FT_Face face,
35 FT_UInt gindex,
36 FT_ULong *asize );
37
38 FT_LOCAL( void )
39 tt_face_done_loca( TT_Face face );
40
41 FT_LOCAL( FT_Error )
42 tt_face_load_cvt( TT_Face face,
43 FT_Stream stream );
44
45 FT_LOCAL( FT_Error )
46 tt_face_load_fpgm( TT_Face face,
47 FT_Stream stream );
48
49
50 FT_LOCAL( FT_Error )
51 tt_face_load_prep( TT_Face face,
52 FT_Stream stream );
53
54
55 FT_LOCAL( FT_Error )
56 tt_face_load_hdmx( TT_Face face,
57 FT_Stream stream );
58
59
60 FT_LOCAL( void )
61 tt_face_free_hdmx( TT_Face face );
62
63
64 FT_LOCAL( FT_Byte* )
65 tt_face_get_device_metrics( TT_Face face,
66 FT_UInt ppem,
67 FT_UInt gindex );
68
69FT_END_HEADER
70
71#endif /* TTPLOAD_H_ */
72
73
74/* END */
75