1/***************************************************************************/ 2/* */ 3/* cffcmap.h */ 4/* */ 5/* CFF character mapping table (cmap) support (specification). */ 6/* */ 7/* Copyright 2002-2015 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 "cffobjs.h" 23 24FT_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 62FT_END_HEADER 63 64#endif /* __CFFCMAP_H__ */ 65 66 67/* END */ 68