1 | /**************************************************************************** |
2 | * |
3 | * cffcmap.h |
4 | * |
5 | * CFF character mapping table (cmap) support (specification). |
6 | * |
7 | * Copyright (C) 2002-2019 by |
8 | * David Turner, Robert Wilhelm, and Werner Lemberg. |
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 CFFCMAP_H_ |
20 | #define CFFCMAP_H_ |
21 | |
22 | #include FT_INTERNAL_CFF_OBJECTS_TYPES_H |
23 | |
24 | FT_BEGIN_HEADER |
25 | |
26 | |
27 | /*************************************************************************/ |
28 | /*************************************************************************/ |
29 | /***** *****/ |
30 | /***** TYPE1 STANDARD (AND EXPERT) ENCODING CMAPS *****/ |
31 | /***** *****/ |
32 | /*************************************************************************/ |
33 | /*************************************************************************/ |
34 | |
35 | /* standard (and expert) encoding cmaps */ |
36 | typedef struct CFF_CMapStdRec_* CFF_CMapStd; |
37 | |
38 | typedef struct CFF_CMapStdRec_ |
39 | { |
40 | FT_CMapRec cmap; |
41 | FT_UShort* gids; /* up to 256 elements */ |
42 | |
43 | } CFF_CMapStdRec; |
44 | |
45 | |
46 | FT_DECLARE_CMAP_CLASS(cff_cmap_encoding_class_rec) |
47 | |
48 | |
49 | /*************************************************************************/ |
50 | /*************************************************************************/ |
51 | /***** *****/ |
52 | /***** CFF SYNTHETIC UNICODE ENCODING CMAP *****/ |
53 | /***** *****/ |
54 | /*************************************************************************/ |
55 | /*************************************************************************/ |
56 | |
57 | /* unicode (synthetic) cmaps */ |
58 | |
59 | FT_DECLARE_CMAP_CLASS(cff_cmap_unicode_class_rec) |
60 | |
61 | |
62 | FT_END_HEADER |
63 | |
64 | #endif /* CFFCMAP_H_ */ |
65 | |
66 | |
67 | /* END */ |
68 | |