1 /***************************************************************************/
2 /*                                                                         */
3 /*  t42types.h                                                             */
4 /*                                                                         */
5 /*    Type 42 font data types (specification only).                        */
6 /*                                                                         */
7 /*  Copyright 2002, 2003, 2006, 2008 by Roberto Alameda.                   */
8 /*                                                                         */
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.                                        */
14 /*                                                                         */
15 /***************************************************************************/
16 
17 
18 #ifndef __T42TYPES_H__
19 #define __T42TYPES_H__
20 
21 
22 #include <ft2build.h>
23 #include FT_FREETYPE_H
24 #include FT_TYPE1_TABLES_H
25 #include FT_INTERNAL_TYPE1_TYPES_H
26 #include FT_INTERNAL_POSTSCRIPT_HINTS_H
27 
28 
29 FT_BEGIN_HEADER
30 
31 
32   typedef struct  T42_FaceRec_
33   {
34     FT_FaceRec      root;
35     T1_FontRec      type1;
36     const void*     psnames;
37     const void*     psaux;
38 #if 0
39     const void*     afm_data;
40 #endif
41     FT_Byte*        ttf_data;
42     FT_ULong        ttf_size;
43     FT_Face         ttf_face;
44     FT_CharMapRec   charmaprecs[2];
45     FT_CharMap      charmaps[2];
46     PS_UnicodesRec  unicode_map;
47 
48   } T42_FaceRec, *T42_Face;
49 
50 
51 FT_END_HEADER
52 
53 #endif /* __T42TYPES_H__ */
54 
55 
56 /* END */
57