[657] | 1 | /***************************************************************************/
|
---|
| 2 | /* */
|
---|
| 3 | /* svsttcmap.h */
|
---|
| 4 | /* */
|
---|
| 5 | /* The FreeType TrueType/sfnt cmap extra information service. */
|
---|
| 6 | /* */
|
---|
| 7 | /* Copyright 2003 by */
|
---|
| 8 | /* Masatake YAMATO, Redhat K.K. */
|
---|
| 9 | /* */
|
---|
| 10 | /* Copyright 2003 by */
|
---|
| 11 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
---|
| 12 | /* */
|
---|
| 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. */
|
---|
| 18 | /* */
|
---|
| 19 | /***************************************************************************/
|
---|
| 20 |
|
---|
| 21 | /* Development of this service is support of
|
---|
| 22 | Information-technology Promotion Agency, Japan. */
|
---|
| 23 |
|
---|
| 24 | #ifndef __SVTTCMAP_H__
|
---|
| 25 | #define __SVTTCMAP_H__
|
---|
| 26 |
|
---|
| 27 | #include FT_INTERNAL_SERVICE_H
|
---|
| 28 | #include FT_TRUETYPE_TABLES_H
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 | FT_BEGIN_HEADER
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | #define FT_SERVICE_ID_TT_CMAP "tt-cmaps"
|
---|
| 35 |
|
---|
| 36 |
|
---|
| 37 | /*************************************************************************/
|
---|
| 38 | /* */
|
---|
| 39 | /* <Struct> */
|
---|
| 40 | /* TT_CMapInfo */
|
---|
| 41 | /* */
|
---|
| 42 | /* <Description> */
|
---|
| 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. */
|
---|
| 46 | /* */
|
---|
| 47 | /* <Fields> */
|
---|
| 48 | /* language :: */
|
---|
| 49 | /* The language ID used in Mac fonts. Definitions of values are in */
|
---|
| 50 | /* freetype/ttnameid.h. */
|
---|
| 51 | /* */
|
---|
| 52 | typedef struct TT_CMapInfo_
|
---|
| 53 | {
|
---|
| 54 | FT_ULong language;
|
---|
| 55 |
|
---|
| 56 | } TT_CMapInfo;
|
---|
| 57 |
|
---|
| 58 |
|
---|
| 59 | typedef FT_Error
|
---|
| 60 | (*TT_CMap_Info_GetFunc)( FT_CharMap charmap,
|
---|
| 61 | TT_CMapInfo *cmap_info );
|
---|
| 62 |
|
---|
| 63 |
|
---|
| 64 | FT_DEFINE_SERVICE( TTCMaps )
|
---|
| 65 | {
|
---|
| 66 | TT_CMap_Info_GetFunc get_cmap_info;
|
---|
| 67 | };
|
---|
| 68 |
|
---|
| 69 | /* */
|
---|
| 70 |
|
---|
| 71 |
|
---|
| 72 | FT_END_HEADER
|
---|
| 73 |
|
---|
| 74 | #endif /* __SVTTCMAP_H__ */
|
---|
| 75 |
|
---|
| 76 |
|
---|
| 77 | /* END */
|
---|