00001 /***************************************************************************/ 00002 /* */ 00003 /* cffcmap.h */ 00004 /* */ 00005 /* CFF character mapping table (cmap) support (specification). */ 00006 /* */ 00007 /* Copyright 2002, 2003, 2006 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #ifndef __CFFCMAP_H__ 00020 #define __CFFCMAP_H__ 00021 00022 #include "cffobjs.h" 00023 00024 FT_BEGIN_HEADER 00025 00026 00027 /*************************************************************************/ 00028 /*************************************************************************/ 00029 /***** *****/ 00030 /***** TYPE1 STANDARD (AND EXPERT) ENCODING CMAPS *****/ 00031 /***** *****/ 00032 /*************************************************************************/ 00033 /*************************************************************************/ 00034 00035 /* standard (and expert) encoding cmaps */ 00036 typedef struct CFF_CMapStdRec_* CFF_CMapStd; 00037 00038 typedef struct CFF_CMapStdRec_ 00039 { 00040 FT_CMapRec cmap; 00041 FT_UShort* gids; /* up to 256 elements */ 00042 00043 } CFF_CMapStdRec; 00044 00045 00046 FT_DECLARE_CMAP_CLASS(cff_cmap_encoding_class_rec) 00047 00048 00049 /*************************************************************************/ 00050 /*************************************************************************/ 00051 /***** *****/ 00052 /***** CFF SYNTHETIC UNICODE ENCODING CMAP *****/ 00053 /***** *****/ 00054 /*************************************************************************/ 00055 /*************************************************************************/ 00056 00057 /* unicode (synthetic) cmaps */ 00058 00059 FT_DECLARE_CMAP_CLASS(cff_cmap_unicode_class_rec) 00060 00061 00062 FT_END_HEADER 00063 00064 #endif /* __CFFCMAP_H__ */ 00065 00066 00067 /* END */