1 /***************************************************************************/
5 /* CID objects manager (specification). */
7 /* Copyright 1996-2000 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
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. */
16 /***************************************************************************/
22 #include <freetype/internal/ftobjs.h>
23 #include <freetype/config/ftconfig.h>
24 #include <freetype/internal/t1errors.h>
25 #include <freetype/internal/t1types.h>
33 /* The following structures must be defined by the hinter */
34 typedef struct CID_Size_Hints_ CID_Size_Hints;
35 typedef struct CID_Glyph_Hints_ CID_Glyph_Hints;
38 /*************************************************************************/
44 /* A handle to a Type 1 driver object. */
46 typedef struct CID_DriverRec_* CID_Driver;
49 /*************************************************************************/
55 /* A handle to a Type 1 size object. */
57 typedef struct CID_SizeRec_* CID_Size;
60 /*************************************************************************/
66 /* A handle to a Type 1 glyph slot object. */
68 typedef struct CID_GlyphSlotRec_* CID_GlyphSlot;
71 /*************************************************************************/
77 /* A handle to a Type 1 character mapping object. */
80 /* The Type 1 format doesn't use a charmap but an encoding table. */
81 /* The driver is responsible for making up charmap objects */
82 /* corresponding to these tables. */
84 typedef struct CID_CharMapRec_* CID_CharMap;
87 /*************************************************************************/
89 /* HERE BEGINS THE TYPE 1 SPECIFIC STUFF */
91 /*************************************************************************/
94 typedef struct CID_SizeRec_
102 typedef struct CID_GlyphSlotRec_
104 FT_GlyphSlotRec root;
116 FT_Error CID_Init_Face( FT_Stream stream,
120 FT_Parameter* params );
123 void CID_Done_Face( CID_Face face );
127 FT_Error CID_Init_Driver( CID_Driver driver );
130 void CID_Done_Driver( CID_Driver driver );
138 #endif /* CIDOBJS_H */