1 /***************************************************************************/
2 /*                                                                         */
3 /*  t42types.h                                                             */
4 /*                                                                         */
5 /*    Type 42 font data types (specification only).                        */
6 /*                                                                         */
7 /*  Copyright 2002 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_NAMES_H
27 #include FT_INTERNAL_POSTSCRIPT_HINTS_H
28 
29 
30 FT_BEGIN_HEADER
31 
32 
33   typedef struct  T42_FaceRec_
34   {
35     FT_FaceRec     root;
36     T1_FontRec     type1;
37     const void*    psnames;
38     const void*    psaux;
39     const void*    afm_data;
40     FT_Byte*       ttf_data;
41     FT_ULong       ttf_size;
42     FT_Face        ttf_face;
43     FT_CharMapRec  charmaprecs[2];
44     FT_CharMap     charmaps[2];
45     PS_Unicodes    unicode_map;
46 
47   } T42_FaceRec, *T42_Face;
48 
49 
50 FT_END_HEADER
51 
52 #endif /* __T1TYPES_H__ */
53 
54 
55 /* END */
56