1 /****************************************************************************
2  *
3  * cidload.h
4  *
5  *   CID-keyed Type1 font loader (specification).
6  *
7  * Copyright (C) 1996-2020 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 CIDLOAD_H_
20 #define CIDLOAD_H_
21 
22 
23 #include <freetype/internal/ftstream.h>
24 #include "cidparse.h"
25 
26 
27 FT_BEGIN_HEADER
28 
29 
30   typedef struct  CID_Loader_
31   {
32     CID_Parser  parser;          /* parser used to read the stream */
33     FT_Int      num_chars;       /* number of characters in encoding */
34 
35   } CID_Loader;
36 
37 
38   FT_LOCAL( FT_ULong )
39   cid_get_offset( FT_Byte**  start,
40                   FT_Byte    offsize );
41 
42   FT_LOCAL( FT_Error )
43   cid_face_open( CID_Face  face,
44                  FT_Int    face_index );
45 
46 
47 FT_END_HEADER
48 
49 #endif /* CIDLOAD_H_ */
50 
51 
52 /* END */
53