]> git.saurik.com Git - wxWidgets.git/blob - src/freetype/cid/cidload.h
Added required #include
[wxWidgets.git] / src / freetype / cid / cidload.h
1 /***************************************************************************/
2 /* */
3 /* cidload.h */
4 /* */
5 /* CID-keyed Type1 font loader (specification). */
6 /* */
7 /* Copyright 1996-2000 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 #include <freetype/internal/ftstream.h>
23
24
25 #ifdef FT_FLAT_COMPILE
26
27 #include "cidparse.h"
28
29 #else
30
31 #include <cid/cidparse.h>
32
33 #endif
34
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40
41 typedef struct CID_Loader_
42 {
43 CID_Parser parser; /* parser used to read the stream */
44 FT_Int num_chars; /* number of characters in encoding */
45
46 } CID_Loader;
47
48
49 LOCAL_DEF
50 FT_Long cid_get_offset( FT_Byte** start,
51 FT_Byte offsize );
52
53 LOCAL_DEF
54 void cid_decrypt( FT_Byte* buffer,
55 FT_Int length,
56 FT_UShort seed );
57
58 LOCAL_DEF
59 FT_Error CID_Open_Face( CID_Face face );
60
61
62 #ifdef __cplusplus
63 }
64 #endif
65
66
67 #endif /* CIDLOAD_H */
68
69
70 /* END */