1 /***************************************************************************/
5 /* OpenType objects manager (specification). */
7 /* Copyright 1996-2001 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
25 #include FT_INTERNAL_CFF_TYPES_H
26 #include FT_INTERNAL_POSTSCRIPT_NAMES_H
32 /*************************************************************************/
38 /* A handle to an OpenType driver object. */
40 typedef struct CFF_DriverRec_* CFF_Driver;
42 typedef TT_Face CFF_Face;
45 /*************************************************************************/
51 /* A handle to an OpenType size object. */
53 typedef FT_Size CFF_Size;
56 /*************************************************************************/
62 /* A handle to an OpenType glyph slot object. */
64 typedef struct CFF_GlyphSlotRec_
74 } CFF_GlyphSlotRec, *CFF_GlyphSlot;
78 /*************************************************************************/
80 /* Subglyph transformation record. */
82 typedef struct CFF_Transform_
84 FT_Fixed xx, xy; /* transformation matrix coefficients */
86 FT_F26Dot6 ox, oy; /* offsets */
91 /* this is only used in the case of a pure CFF font with no charmap */
92 typedef struct CFF_CharMapRec_
97 } CFF_CharMapRec, *CFF_CharMap;
100 /***********************************************************************/
102 /* TrueType driver class. */
104 typedef struct CFF_DriverRec_
107 void* extension_component;
112 /*************************************************************************/
117 CFF_Init_Face( FT_Stream stream,
121 FT_Parameter* params );
124 CFF_Done_Face( CFF_Face face );
127 /*************************************************************************/
129 /* Driver functions */
132 CFF_Init_Driver( CFF_Driver driver );
135 CFF_Done_Driver( CFF_Driver driver );
140 #endif /* __CFFOBJS_H__ */