1 /***************************************************************************/ |
1 /**************************************************************************** |
2 /* */ |
2 * |
3 /* cidobjs.h */ |
3 * cidobjs.h |
4 /* */ |
4 * |
5 /* CID objects manager (specification). */ |
5 * CID objects manager (specification). |
6 /* */ |
6 * |
7 /* Copyright 1996-2018 by */ |
7 * Copyright (C) 1996-2019 by |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
8 * David Turner, Robert Wilhelm, and Werner Lemberg. |
9 /* */ |
9 * |
10 /* This file is part of the FreeType project, and may only be used, */ |
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 */ |
11 * modified, and distributed under the terms of the FreeType project |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute |
13 /* this file you indicate that you have read the license and */ |
13 * this file you indicate that you have read the license and |
14 /* understand and accept it fully. */ |
14 * understand and accept it fully. |
15 /* */ |
15 * |
16 /***************************************************************************/ |
16 */ |
17 |
17 |
18 |
18 |
19 #ifndef CIDOBJS_H_ |
19 #ifndef CIDOBJS_H_ |
20 #define CIDOBJS_H_ |
20 #define CIDOBJS_H_ |
21 |
21 |
32 /* The following structures must be defined by the hinter */ |
32 /* The following structures must be defined by the hinter */ |
33 typedef struct CID_Size_Hints_ CID_Size_Hints; |
33 typedef struct CID_Size_Hints_ CID_Size_Hints; |
34 typedef struct CID_Glyph_Hints_ CID_Glyph_Hints; |
34 typedef struct CID_Glyph_Hints_ CID_Glyph_Hints; |
35 |
35 |
36 |
36 |
37 /*************************************************************************/ |
37 /************************************************************************** |
38 /* */ |
38 * |
39 /* <Type> */ |
39 * @Type: |
40 /* CID_Driver */ |
40 * CID_Driver |
41 /* */ |
41 * |
42 /* <Description> */ |
42 * @Description: |
43 /* A handle to a Type 1 driver object. */ |
43 * A handle to a Type 1 driver object. |
44 /* */ |
44 */ |
45 typedef struct CID_DriverRec_* CID_Driver; |
45 typedef struct CID_DriverRec_* CID_Driver; |
46 |
46 |
47 |
47 |
48 /*************************************************************************/ |
48 /************************************************************************** |
49 /* */ |
49 * |
50 /* <Type> */ |
50 * @Type: |
51 /* CID_Size */ |
51 * CID_Size |
52 /* */ |
52 * |
53 /* <Description> */ |
53 * @Description: |
54 /* A handle to a Type 1 size object. */ |
54 * A handle to a Type 1 size object. |
55 /* */ |
55 */ |
56 typedef struct CID_SizeRec_* CID_Size; |
56 typedef struct CID_SizeRec_* CID_Size; |
57 |
57 |
58 |
58 |
59 /*************************************************************************/ |
59 /************************************************************************** |
60 /* */ |
60 * |
61 /* <Type> */ |
61 * @Type: |
62 /* CID_GlyphSlot */ |
62 * CID_GlyphSlot |
63 /* */ |
63 * |
64 /* <Description> */ |
64 * @Description: |
65 /* A handle to a Type 1 glyph slot object. */ |
65 * A handle to a Type 1 glyph slot object. |
66 /* */ |
66 */ |
67 typedef struct CID_GlyphSlotRec_* CID_GlyphSlot; |
67 typedef struct CID_GlyphSlotRec_* CID_GlyphSlot; |
68 |
68 |
69 |
69 |
70 /*************************************************************************/ |
70 /************************************************************************** |
71 /* */ |
71 * |
72 /* <Type> */ |
72 * @Type: |
73 /* CID_CharMap */ |
73 * CID_CharMap |
74 /* */ |
74 * |
75 /* <Description> */ |
75 * @Description: |
76 /* A handle to a Type 1 character mapping object. */ |
76 * A handle to a Type 1 character mapping object. |
77 /* */ |
77 * |
78 /* <Note> */ |
78 * @Note: |
79 /* The Type 1 format doesn't use a charmap but an encoding table. */ |
79 * The Type 1 format doesn't use a charmap but an encoding table. |
80 /* The driver is responsible for making up charmap objects */ |
80 * The driver is responsible for making up charmap objects |
81 /* corresponding to these tables. */ |
81 * corresponding to these tables. |
82 /* */ |
82 */ |
83 typedef struct CID_CharMapRec_* CID_CharMap; |
83 typedef struct CID_CharMapRec_* CID_CharMap; |
84 |
84 |
85 |
85 |
86 /*************************************************************************/ |
86 /************************************************************************** |
87 /* */ |
87 * |
88 /* HERE BEGINS THE TYPE 1 SPECIFIC STUFF */ |
88 * HERE BEGINS THE TYPE 1 SPECIFIC STUFF |
89 /* */ |
89 * |
90 /*************************************************************************/ |
90 */ |
91 |
91 |
92 |
92 |
93 typedef struct CID_SizeRec_ |
93 typedef struct CID_SizeRec_ |
94 { |
94 { |
95 FT_SizeRec root; |
95 FT_SizeRec root; |