1 | /**************************************************************************** |
2 | * |
3 | * t42types.h |
4 | * |
5 | * Type 42 font data types (specification only). |
6 | * |
7 | * Copyright (C) 2002-2023 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 <freetype/freetype.h> |
24 | #include <freetype/t1tables.h> |
25 | #include <freetype/internal/t1types.h> |
26 | #include <freetype/internal/pshints.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_Long 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 | |