1 /***************************************************************************/
5 /* OpenType objects manager (specification). */
7 /* Copyright 1996-2001, 2002, 2003, 2004, 2006, 2007 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 /***************************************************************************/
24 #include FT_INTERNAL_OBJECTS_H
26 #include FT_INTERNAL_TRUETYPE_TYPES_H
27 #include FT_SERVICE_POSTSCRIPT_CMAPS_H
33 /*************************************************************************/
39 /* A handle to an OpenType driver object. */
41 typedef struct CFF_DriverRec_
* CFF_Driver
;
43 typedef TT_Face CFF_Face
;
46 /*************************************************************************/
52 /* A handle to an OpenType size object. */
54 typedef struct CFF_SizeRec_
57 FT_ULong strike_index
; /* 0xFFFFFFFF to indicate invalid */
59 } CFF_SizeRec
, *CFF_Size
;
62 /*************************************************************************/
68 /* A handle to an OpenType glyph slot object. */
70 typedef struct CFF_GlyphSlotRec_
80 } CFF_GlyphSlotRec
, *CFF_GlyphSlot
;
84 /*************************************************************************/
86 /* Subglyph transformation record. */
88 typedef struct CFF_Transform_
90 FT_Fixed xx
, xy
; /* transformation matrix coefficients */
92 FT_F26Dot6 ox
, oy
; /* offsets */
97 /***********************************************************************/
99 /* TrueType driver class. */
101 typedef struct CFF_DriverRec_
104 void* extension_component
;
110 cff_size_init( FT_Size size
); /* CFF_Size */
113 cff_size_done( FT_Size size
); /* CFF_Size */
116 cff_size_request( FT_Size size
,
117 FT_Size_Request req
);
119 #ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS
122 cff_size_select( FT_Size size
,
123 FT_ULong strike_index
);
128 cff_slot_done( FT_GlyphSlot slot
);
131 cff_slot_init( FT_GlyphSlot slot
);
134 /*************************************************************************/
139 cff_face_init( FT_Stream stream
,
140 FT_Face face
, /* CFF_Face */
143 FT_Parameter
* params
);
146 cff_face_done( FT_Face face
); /* CFF_Face */
149 /*************************************************************************/
151 /* Driver functions */
154 cff_driver_init( FT_Module module
);
157 cff_driver_done( FT_Module module
);
162 #endif /* __CFFOBJS_H__ */