• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  *
3  * t42types.h
4  *
5  *   Type 42 font data types (specification only).
6  *
7  * Copyright 2002-2018 by
8  * Roberto Alameda.
9  *
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.
15  *
16  */
17 
18 
19 #ifndef T42TYPES_H_
20 #define T42TYPES_H_
21 
22 
23 #include <ft2build.h>
24 #include FT_FREETYPE_H
25 #include FT_TYPE1_TABLES_H
26 #include FT_INTERNAL_TYPE1_TYPES_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 #if 0
40     const void*     afm_data;
41 #endif
42     FT_Byte*        ttf_data;
43     FT_Long         ttf_size;
44     FT_Face         ttf_face;
45     FT_CharMapRec   charmaprecs[2];
46     FT_CharMap      charmaps[2];
47     PS_UnicodesRec  unicode_map;
48 
49   } T42_FaceRec, *T42_Face;
50 
51 
52 FT_END_HEADER
53 
54 #endif /* T42TYPES_H_ */
55 
56 
57 /* END */
58