1 /***************************************************************************/
5 /* CFF character mapping table (cmap) support (specification). */
7 /* Copyright 2002 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
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. */
16 /***************************************************************************/
27 /*************************************************************************/
28 /*************************************************************************/
30 /***** TYPE1 STANDARD (AND EXPERT) ENCODING CMAPS *****/
32 /*************************************************************************/
33 /*************************************************************************/
35 /* standard (and expert) encoding cmaps */
36 typedef struct CFF_CMapStdRec_* CFF_CMapStd;
38 typedef struct CFF_CMapStdRec_
42 FT_UShort* gids; /* up to 256 elements */
47 FT_CALLBACK_TABLE const FT_CMap_ClassRec
48 cff_cmap_encoding_class_rec;
51 /*************************************************************************/
52 /*************************************************************************/
54 /***** CFF SYNTHETIC UNICODE ENCODING CMAP *****/
56 /*************************************************************************/
57 /*************************************************************************/
59 /* unicode (synthetic) cmaps */
60 typedef struct CFF_CMapUnicodeRec_* CFF_CMapUnicode;
62 typedef struct CFF_CMapUniPairRec_
67 } CFF_CMapUniPairRec, *CFF_CMapUniPair;
70 typedef struct CFF_CMapUnicodeRec_
74 CFF_CMapUniPair pairs;
79 FT_CALLBACK_TABLE const FT_CMap_ClassRec
80 cff_cmap_unicode_class_rec;
85 #endif /* __CFFCMAP_H__ */