Imported Upstream version 2.13.2
[platform/upstream/freetype2.git] / src / sfnt / sfobjs.h
1 /****************************************************************************
2  *
3  * sfobjs.h
4  *
5  *   SFNT object management (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 SFOBJS_H_
20 #define SFOBJS_H_
21
22
23 #include <freetype/internal/sfnt.h>
24 #include <freetype/internal/ftobjs.h>
25
26
27 FT_BEGIN_HEADER
28
29
30   FT_LOCAL( FT_Error )
31   sfnt_init_face( FT_Stream      stream,
32                   TT_Face        face,
33                   FT_Int         face_instance_index,
34                   FT_Int         num_params,
35                   FT_Parameter*  params );
36
37   FT_LOCAL( FT_Error )
38   sfnt_load_face( FT_Stream      stream,
39                   TT_Face        face,
40                   FT_Int         face_instance_index,
41                   FT_Int         num_params,
42                   FT_Parameter*  params );
43
44   FT_LOCAL( void )
45   sfnt_done_face( TT_Face  face );
46
47   FT_LOCAL( FT_Error )
48   tt_face_get_name( TT_Face      face,
49                     FT_UShort    nameid,
50                     FT_String**  name );
51
52
53 FT_END_HEADER
54
55 #endif /* SFOBJS_H_ */
56
57
58 /* END */