1 | /**************************************************************************** |
2 | * |
3 | * cidgload.h |
4 | * |
5 | * OpenType Glyph Loader (specification). |
6 | * |
7 | * Copyright (C) 1996-2019 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 CIDGLOAD_H_ |
20 | #define CIDGLOAD_H_ |
21 | |
22 | |
23 | #include <ft2build.h> |
24 | #include "cidobjs.h" |
25 | |
26 | |
27 | FT_BEGIN_HEADER |
28 | |
29 | |
30 | #if 0 |
31 | |
32 | /* Compute the maximum advance width of a font through quick parsing */ |
33 | FT_LOCAL( FT_Error ) |
34 | cid_face_compute_max_advance( CID_Face face, |
35 | FT_Int* max_advance ); |
36 | |
37 | #endif /* 0 */ |
38 | |
39 | FT_LOCAL( FT_Error ) |
40 | cid_slot_load_glyph( FT_GlyphSlot glyph, /* CID_Glyph_Slot */ |
41 | FT_Size size, /* CID_Size */ |
42 | FT_UInt glyph_index, |
43 | FT_Int32 load_flags ); |
44 | |
45 | |
46 | FT_END_HEADER |
47 | |
48 | #endif /* CIDGLOAD_H_ */ |
49 | |
50 | |
51 | /* END */ |
52 | |