1 /***************************************************************************/
5 /* The FreeType TrueType/sfnt cmap extra information service. */
7 /* Copyright 2003 by */
8 /* Masatake YAMATO, Redhat K.K. */
10 /* Copyright 2003 by */
11 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
13 /* This file is part of the FreeType project, and may only be used, */
14 /* modified, and distributed under the terms of the FreeType project */
15 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
16 /* this file you indicate that you have read the license and */
17 /* understand and accept it fully. */
19 /***************************************************************************/
21 /* Development of this service is support of
22 Information-technology Promotion Agency, Japan. */
24 #ifndef __SVTTCMAP_H__
25 #define __SVTTCMAP_H__
27 #include FT_INTERNAL_SERVICE_H
28 #include FT_TRUETYPE_TABLES_H
34 #define FT_SERVICE_ID_TT_CMAP "tt-cmaps"
37 /*************************************************************************/
43 /* A structure used to store TrueType/sfnt specific cmap information */
44 /* which is not covered by the generic @FT_CharMap structure. This */
45 /* structure can be accessed with the @FT_Get_TT_CMap_Info function. */
49 /* The language ID used in Mac fonts. Definitions of values are in */
50 /* freetype/ttnameid.h. */
52 typedef struct TT_CMapInfo_
60 (*TT_CMap_Info_GetFunc)( FT_CharMap charmap,
61 TT_CMapInfo *cmap_info );
64 FT_DEFINE_SERVICE( TTCMaps )
66 TT_CMap_Info_GetFunc get_cmap_info;
74 #endif /* __SVTTCMAP_H__ */