OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* svttcmap.h */ | 3 /* svttcmap.h */ |
4 /* */ | 4 /* */ |
5 /* The FreeType TrueType/sfnt cmap extra information service. */ | 5 /* The FreeType TrueType/sfnt cmap extra information service. */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2003 by */ | 7 /* Copyright 2003 by */ |
8 /* Masatake YAMATO, Redhat K.K. */ | 8 /* Masatake YAMATO, Redhat K.K. */ |
9 /* */ | 9 /* */ |
10 /* Copyright 2003, 2008, 2009, 2012 by */ | 10 /* Copyright 2003, 2008, 2009, 2012, 2013 by */ |
11 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 11 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
12 /* */ | 12 /* */ |
13 /* This file is part of the FreeType project, and may only be used, */ | 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 */ | 14 /* modified, and distributed under the terms of the FreeType project */ |
15 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 15 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
16 /* this file you indicate that you have read the license and */ | 16 /* this file you indicate that you have read the license and */ |
17 /* understand and accept it fully. */ | 17 /* understand and accept it fully. */ |
18 /* */ | 18 /* */ |
19 /***************************************************************************/ | 19 /***************************************************************************/ |
20 | 20 |
21 /* Development of this service is support of | 21 /* Development of this service is support of |
22 Information-technology Promotion Agency, Japan. */ | 22 Information-technology Promotion Agency, Japan. */ |
23 | 23 |
24 #ifndef __SVTTCMAP_H__ | 24 #ifndef __SVTTCMAP_H__ |
25 #define __SVTTCMAP_H__ | 25 #define __SVTTCMAP_H__ |
26 | 26 |
27 #include "../ftserv.h" | 27 #include FT_INTERNAL_SERVICE_H |
28 #include "../../tttables.h" | 28 #include FT_TRUETYPE_TABLES_H |
29 | 29 |
30 | 30 |
31 FT_BEGIN_HEADER | 31 FT_BEGIN_HEADER |
32 | 32 |
33 | 33 |
34 #define FT_SERVICE_ID_TT_CMAP "tt-cmaps" | 34 #define FT_SERVICE_ID_TT_CMAP "tt-cmaps" |
35 | 35 |
36 | 36 |
37 /*************************************************************************/ | 37 /*************************************************************************/ |
38 /* */ | 38 /* */ |
39 /* <Struct> */ | 39 /* <Struct> */ |
40 /* TT_CMapInfo */ | 40 /* TT_CMapInfo */ |
41 /* */ | 41 /* */ |
42 /* <Description> */ | 42 /* <Description> */ |
43 /* A structure used to store TrueType/sfnt specific cmap information */ | 43 /* A structure used to store TrueType/sfnt specific cmap information */ |
44 /* which is not covered by the generic @FT_CharMap structure. This */ | 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. */ | 45 /* structure can be accessed with the @FT_Get_TT_CMap_Info function. */ |
46 /* */ | 46 /* */ |
47 /* <Fields> */ | 47 /* <Fields> */ |
48 /* language :: */ | 48 /* language :: */ |
49 /* The language ID used in Mac fonts. Definitions of values are in */ | 49 /* The language ID used in Mac fonts. Definitions of values are in */ |
50 /* freetype/ttnameid.h. */ | 50 /* `ttnameid.h'. */ |
51 /* */ | 51 /* */ |
52 /* format :: */ | 52 /* format :: */ |
53 /* The cmap format. OpenType 1.5 defines the formats 0 (byte */ | 53 /* The cmap format. OpenType 1.5 defines the formats 0 (byte */ |
54 /* encoding table), 2~(high-byte mapping through table), 4~(segment */ | 54 /* encoding table), 2~(high-byte mapping through table), 4~(segment */ |
55 /* mapping to delta values), 6~(trimmed table mapping), 8~(mixed */ | 55 /* mapping to delta values), 6~(trimmed table mapping), 8~(mixed */ |
56 /* 16-bit and 32-bit coverage), 10~(trimmed array), 12~(segmented */ | 56 /* 16-bit and 32-bit coverage), 10~(trimmed array), 12~(segmented */ |
57 /* coverage), and 14 (Unicode Variation Sequences). */ | 57 /* coverage), and 14 (Unicode Variation Sequences). */ |
58 /* */ | 58 /* */ |
59 typedef struct TT_CMapInfo_ | 59 typedef struct TT_CMapInfo_ |
60 { | 60 { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 /* */ | 99 /* */ |
100 | 100 |
101 | 101 |
102 FT_END_HEADER | 102 FT_END_HEADER |
103 | 103 |
104 #endif /* __SVTTCMAP_H__ */ | 104 #endif /* __SVTTCMAP_H__ */ |
105 | 105 |
106 | 106 |
107 /* END */ | 107 /* END */ |
OLD | NEW |