1 /***************************************************************************/
5 /* Type 42 objects manager (specification). */
7 /* Copyright 2002 by Roberto Alameda. */
9 /* This file is part of the FreeType project, and may only be used, */
10 /* modified, and distributed under the terms of the FreeType project */
11 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
12 /* this file you indicate that you have read the license and */
13 /* understand and accept it fully. */
15 /***************************************************************************/
22 #include FT_FREETYPE_H
23 #include FT_TYPE1_TABLES_H
24 #include FT_INTERNAL_TYPE1_TYPES_H
25 #include FT_INTERNAL_TYPE42_TYPES_H
26 #include FT_INTERNAL_OBJECTS_H
27 #include FT_INTERNAL_DRIVER_H
28 #include FT_INTERNAL_POSTSCRIPT_NAMES_H
29 #include FT_INTERNAL_POSTSCRIPT_HINTS_H
36 typedef struct T42_SizeRec_
41 } T42_SizeRec, *T42_Size;
45 typedef struct T42_GlyphSlotRec_
50 } T42_GlyphSlotRec, *T42_GlyphSlot;
54 typedef struct T42_DriverRec_
57 FT_Driver_Class ttclazz;
58 void* extension_component;
60 } T42_DriverRec, *T42_Driver;
67 T42_Face_Init( FT_Stream stream,
71 FT_Parameter* params );
75 T42_Face_Done( T42_Face face );
79 T42_Size_Init( T42_Size size );
83 T42_Size_SetChars( T42_Size size,
84 FT_F26Dot6 char_width,
85 FT_F26Dot6 char_height,
86 FT_UInt horz_resolution,
87 FT_UInt vert_resolution );
90 T42_Size_SetPixels( T42_Size size,
92 FT_UInt pixel_height );
95 T42_Size_Done( T42_Size size );
99 T42_GlyphSlot_Init( T42_GlyphSlot slot );
103 T42_GlyphSlot_Load( FT_GlyphSlot glyph,
106 FT_Int32 load_flags );
109 T42_GlyphSlot_Done( T42_GlyphSlot slot );
113 T42_Driver_Init( T42_Driver driver );
116 T42_Driver_Done( T42_Driver driver );
123 #endif /* __T42OBJS_H__ */